Browse files

Fixed Profile.__unicode__() method.

  • Loading branch information...
1 parent d6bef0e commit f968e4bb32aebf6633771b4b12b62cf5734ba426 @malcolmt committed Sep 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 minerva/models.py
View
2 minerva/models.py
@@ -95,7 +95,7 @@ class Profile(models.Model):
language = models.CharField(max_length=3, null=True, blank=True)
def __unicode__(self):
- return u"%s (lang: %s)" % (self.student, self.language)
+ return u"%s (lang: %s)" % (self.user, self.language)
models.signals.post_save.connect(signal_handlers.create_user_profile,
sender=a_models.User)

0 comments on commit f968e4b

Please sign in to comment.