0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 11:10:43 +01:00

Fixed a couple of references to django.forms.util

This commit is contained in:
Karl Hobley 2015-02-06 09:57:42 +00:00
parent 182aa6922a
commit 43641192c2
2 changed files with 2 additions and 7 deletions

View File

@ -2,13 +2,8 @@ from __future__ import unicode_literals
from six import text_type, with_metaclass
try:
# renamed util -> utils in Django 1.7; try the new name first
from django.forms.utils import flatatt
except ImportError:
from django.forms.util import flatatt
from django.forms import MediaDefiningClass, Media
from django.forms.utils import flatatt
from django.utils.text import slugify
from django.utils.html import format_html
from django.utils.safestring import mark_safe

View File

@ -1,4 +1,4 @@
from django.forms.util import ErrorList
from django.forms.utils import ErrorList
from django.utils.translation import ugettext as _
from wagtail.wagtailadmin.modal_workflow import render_modal_workflow