Update a comment.
This commit is contained in:
parent
d9aced73f1
commit
f1d9a62a4b
@ -15,7 +15,8 @@ else:
|
||||
ungettext = mg_globals.thread_scope.translations.ungettext
|
||||
|
||||
|
||||
# taken from https://github.com/django/django/blob/master/django/utils/encoding.py
|
||||
# taken from
|
||||
# https://github.com/django/django/blob/master/django/utils/encoding.py
|
||||
def py2_unicode(klass):
|
||||
if not PY3:
|
||||
if '__str__' not in klass.__dict__:
|
||||
|
Loading…
x
Reference in New Issue
Block a user