X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2541b6c5da10e4fbcd8e4975973b539af3fec21..b2af4e3e7a74ea0ec0f02c3eefbab4c3d0a0d6c6:/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