commit | 9ec754e633338a9e30f4c3ef5b66e5c2ea87b2de | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@cs.princeton.edu> | Wed May 13 12:21:28 2015 -0400 |
committer | Tony Mack <tmack@cs.princeton.edu> | Wed May 13 12:21:28 2015 -0400 |
tree | 64c42898fd9e841b3fc4ce10687017ae4040e971 | |
parent | f7caea405a7f853da006b588bd2c2255198dacf3 [diff] |
fix TypeError
diff --git a/xos/core/models/service.py b/xos/core/models/service.py index a9ce9f4..d2cc302 100644 --- a/xos/core/models/service.py +++ b/xos/core/models/service.py
@@ -122,7 +122,7 @@ role = models.ForeignKey('ServiceRole',related_name='serviceprivileges') class Meta: - unique_toggether = ('user', 'service', 'role') + unique_together = ('user', 'service', 'role') def __unicode__(self): return u'%s %s %s' % (self.service, self.user, self.role)