From e13cb7cabafb1bf64f14391b6803b1f242aed2e0 Mon Sep 17 00:00:00 2001 From: klitynski Date: Tue, 3 Aug 2010 17:09:43 -0700 Subject: [PATCH 1/1] smart_unicode lies in django.utils.encoding in the newest django; see: http://docs.djangoproject.com/en/dev/ref/unicode/#conversion-functions --- apps/catalogue/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1