From 1856e398c54f65e97e69ee78c9dae61044ab7318 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 17 Oct 2011 16:39:53 +0000 Subject: [PATCH] Remove more relative imports (I will kill them all). git-svn-id: http://code.djangoproject.com/svn/django/trunk@17006 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/forms/forms.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/django/forms/forms.py b/django/forms/forms.py index ad398c4cb7..48378367a1 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -2,16 +2,19 @@ Form classes """ +from __future__ import absolute_import + import copy + from django.core.exceptions import ValidationError +from django.forms.fields import Field, FileField +from django.forms.util import flatatt, ErrorDict, ErrorList +from django.forms.widgets import Media, media_property, TextInput, Textarea from django.utils.datastructures import SortedDict from django.utils.html import conditional_escape from django.utils.encoding import StrAndUnicode, smart_unicode, force_unicode from django.utils.safestring import mark_safe -from fields import Field, FileField -from widgets import Media, media_property, TextInput, Textarea -from util import flatatt, ErrorDict, ErrorList __all__ = ('BaseForm', 'Form')