diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-12-17 05:11:48 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-12-17 05:11:48 +0000 |
| commit | e76e2aaffb407086544b015a81c33e6e5bb3558f (patch) | |
| tree | ed90aab907395f1463709366eaad93aa294bd228 | |
| parent | 546297be27839f4ed3d627ff8fde04ee41d1667d (diff) | |
newforms: Added BaseForm to django.newforms namespace
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/newforms/__init__.py | 2 | ||||
| -rw-r--r-- | django/newforms/forms.py | 2 |
2 files changed, 3 insertions, 1 deletions
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): |
