This change renamed a number of misnamed related fields (e.g. site_privileges->siteprivileges), adds them where they are missing, and changes the corresponding accessors.
diff --git a/planetstack/core/models/planetstackspecific.py b/planetstack/core/models/planetstackspecific.py
index 9007a51..2102a6e 100644
--- a/planetstack/core/models/planetstackspecific.py
+++ b/planetstack/core/models/planetstackspecific.py
@@ -20,8 +20,8 @@
def __unicode__(self): return u'%s' % (self.role)
class PlanetStackPrivilege(PlCoreBase):
- user = models.ForeignKey('User', related_name='planetstack_privileges')
- planetstack = models.ForeignKey('PlanetStack', related_name='planetstack_privileges', default=1)
+ user = models.ForeignKey('User', related_name='planetstackprivileges')
+ planetstack = models.ForeignKey('PlanetStack', related_name='planetstackprivileges', default=1)
role = models.ForeignKey('PlanetStackRole')
def __unicode__(self): return u'%s %s %s' % (self.planetstack, self.user, self.role)