From: klitynski Date: Wed, 4 Aug 2010 00:09:43 +0000 (-0700) Subject: smart_unicode lies in django.utils.encoding in the newest django; see: http://docs... X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e13cb7cabafb1bf64f14391b6803b1f242aed2e0?ds=sidebyside;hp=0e50d2a1f1812489f4159fcab03683dff4db83f7 smart_unicode lies in django.utils.encoding in the newest django; see: docs.djangoproject.com/en/dev/ref/unicode/#conversion-functions --- diff --git a/apps/catalogue/fields.py b/apps/catalogue/fields.py index 62ca29cb9..11c730c71 100644 --- a/apps/catalogue/fields.py +++ b/apps/catalogue/fields.py @@ -9,7 +9,7 @@ from django.db import models from django.db.models import signals from django import forms from django.forms.widgets import flatatt -from django.forms.util import smart_unicode +from django.utils.encoding import smart_unicode from django.utils import simplejson as json from django.utils.html import escape from django.utils.safestring import mark_safe