littleq0903 / appengine-admin

Automatically exported from code.google.com/p/appengine-admin
0 stars 0 forks source link

importing smart_encoding from wrong place #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the newest version of django they have moved the smart_unicode to 
django.utils.encoding.

So in model_register.py you should change from:
try:
    from django.newforms.util import smart_unicode
except ImportError:
    from django.forms.util import smart_unicode

to:
from django.utils.encoding import smart_unicode

Original issue reported on code.google.com by margitf...@gmail.com on 14 Jan 2010 at 6:31

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r112.

Original comment by valdiic on 2 Mar 2011 at 9:28