From e76e2aaffb407086544b015a81c33e6e5bb3558f Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 17 Dec 2006 05:11:48 +0000 Subject: [PATCH] newforms: Added BaseForm to django.newforms namespace git-svn-id: http://code.djangoproject.com/svn/django/trunk@4219 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/newforms/__init__.py | 2 +- django/newforms/forms.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/django/newforms/__init__.py b/django/newforms/__init__.py index a445a21bfb..0d9c68f9e0 100644 --- a/django/newforms/__init__.py +++ b/django/newforms/__init__.py @@ -13,5 +13,5 @@ TODO: from util import ValidationError from widgets import * from fields import * -from forms import Form +from forms import * from models import * diff --git a/django/newforms/forms.py b/django/newforms/forms.py index 96948264e4..44e5bf3d07 100644 --- a/django/newforms/forms.py +++ b/django/newforms/forms.py @@ -8,6 +8,8 @@ from fields import Field from widgets import TextInput, Textarea, HiddenInput from util import StrAndUnicode, ErrorDict, ErrorList, ValidationError +__all__ = ('BaseForm', 'Form') + NON_FIELD_ERRORS = '__all__' def pretty_name(name):