Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Profile.__unicode__() method.

  • Loading branch information...
commit f968e4bb32aebf6633771b4b12b62cf5734ba426 1 parent d6bef0e
Malcolm Tredinnick authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  minerva/models.py
2  minerva/models.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.