Commit 596e93a2 by Sarina Canelake

Add __unicode__ method on StudentModuleHistory

parent 8928e9ef
......@@ -185,6 +185,9 @@ class StudentModuleHistory(models.Model):
max_grade=instance.max_grade)
history_entry.save()
def __unicode__(self):
return unicode(repr(self))
class XBlockFieldBase(models.Model):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment