Don't dump the entire LoncapaProblem text in the unicode string

This commit is contained in:
Calen Pennington
2012-07-02 20:23:19 -04:00
parent c3964c5447
commit 9fdd5b1134

View File

@@ -126,7 +126,7 @@ class LoncapaProblem(object):
self.done = False
def __unicode__(self):
return u"LoncapaProblem ({0})".format(self.problem_text)
return u"LoncapaProblem ({0})".format(self.problem_id)
def get_state(self):
''' Stored per-user session data neeeded to: