Skip to content
This repository
Browse code

Fixed Profile.__unicode__() method.

  • Loading branch information...
commit f968e4bb32aebf6633771b4b12b62cf5734ba426 1 parent d6bef0e
Malcolm Tredinnick authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  minerva/models.py
2  minerva/models.py
@@ -95,7 +95,7 @@ class Profile(models.Model):
95 95 language = models.CharField(max_length=3, null=True, blank=True)
96 96
97 97 def __unicode__(self):
98   - return u"%s (lang: %s)" % (self.student, self.language)
  98 + return u"%s (lang: %s)" % (self.user, self.language)
99 99
100 100 models.signals.post_save.connect(signal_handlers.create_user_profile,
101 101 sender=a_models.User)

0 comments on commit f968e4b

Please sign in to comment.
Something went wrong with that request. Please try again.