X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2541b6c5da10e4fbcd8e4975973b539af3fec21..fb10f5b89c782ff4e25d0100e09a8c1ba4002de7:/apps/catalogue/fields.py diff --git a/apps/catalogue/fields.py b/apps/catalogue/fields.py index ded6f0e93..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 @@ -123,7 +123,7 @@ try: ( [JSONField], # Class(es) these apply to [], # Positional arguments (not used) - {}, # Keyword argument + {}, # Keyword argument ), ], ["^catalogue\.fields\.JSONField"]) except ImportError: pass