return (self.usde_id,)
def __unicode__(self):
- return u'School {0}: {1}'.format(self.usde_id, self.name)
+ return self.name
def save(self, *args, **kwargs):
""" Save school and generate a slug if one doesn't exist """
unique_together = ('name', 'school',)
def __unicode__(self):
- return u'Department: {0} at {1}'.format(self.name, unicode(self.school))
+ return self.name
def natural_key(self):
"""
unique_together = ('name', 'email',)
def __unicode__(self):
- return u'Professor: {0} ({1})'.format(self.name, self.email)
+ return self.name
def natural_key(self):
"""