Fix "RemovedInDjango19Warning: The django.forms.util module has been renamed.

Use django.forms.utils instead." Commit ready for merge.
 - Legacy-Id: 10764
This commit is contained in:
Lars Eggert 2016-02-03 13:33:37 +00:00
parent 7406527807
commit a001822cab
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ Time-stamp: <2010-04-28 02:57:16 carljm forms.py>
from copy import deepcopy
from django import forms
from django.forms.util import flatatt, ErrorDict
from django.forms.utils import flatatt, ErrorDict
from django.utils.safestring import mark_safe
class Fieldset(object):

View file

@ -8,7 +8,7 @@ from django.shortcuts import render_to_response, get_object_or_404, redirect, re
from django.template.loader import render_to_string
from django.template import RequestContext
from django.conf import settings
from django.forms.util import ErrorList
from django.forms.utils import ErrorList
from django.contrib.auth.decorators import login_required
from django.template.defaultfilters import pluralize
from django.contrib import messages

View file

@ -8,7 +8,7 @@ from django import forms
from django.conf import settings
from django.core.exceptions import ObjectDoesNotExist
from django.db.models.query import QuerySet
from django.forms.util import ErrorList
from django.forms.utils import ErrorList
from django.db.models import Q
from django.forms.widgets import RadioFieldRenderer
from django.core.validators import validate_email, ValidationError