Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms: Added BaseForm to django.newforms namespace

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e76e2aaffb407086544b015a81c33e6e5bb3558f 1 parent 546297b
Adrian Holovaty adrianholovaty authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  django/newforms/__init__.py
  2. +2 −0  django/newforms/forms.py
2  django/newforms/__init__.py
View
@@ -13,5 +13,5 @@
from util import ValidationError
from widgets import *
from fields import *
-from forms import Form
+from forms import *
from models import *
2  django/newforms/forms.py
View
@@ -8,6 +8,8 @@
from widgets import TextInput, Textarea, HiddenInput
from util import StrAndUnicode, ErrorDict, ErrorList, ValidationError
+__all__ = ('BaseForm', 'Form')
+
NON_FIELD_ERRORS = '__all__'
def pretty_name(name):
Please sign in to comment.
Something went wrong with that request. Please try again.