mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
newforms: Added BaseForm to django.newforms namespace
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -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 *
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user