commit | 02683de554cf4dd13139ced3b7169053cba55823 | [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 | 2ec862b9e1cd714fd6780cc8a77ae52dc22c6194 [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)