git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d423de9
)
fix NameError
author
Tony Mack
<tmack@tux.cs.princeton.edu>
Tue, 2 Dec 2014 01:50:50 +0000
(20:50 -0500)
committer
Tony Mack
<tmack@tux.cs.princeton.edu>
Tue, 2 Dec 2014 01:50:50 +0000
(20:50 -0500)
planetstack/core/models/node.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/node.py
b/planetstack/core/models/node.py
index
cd4641f
..
6ef3a47
100644
(file)
--- a/
planetstack/core/models/node.py
+++ b/
planetstack/core/models/node.py
@@
-9,7
+9,7
@@
from django.contrib.contenttypes import generic
class Node(PlCoreBase):
name = models.CharField(max_length=200, unique=True, help_text="Name of the Node")
- site_deployment = models.ForeignKey(SiteDeployment, related_name='nodes')
+ site_deployment = models.ForeignKey(SiteDeployment
s
, related_name='nodes')
tags = generic.GenericRelation(Tag)
def __unicode__(self): return u'%s' % (self.name)