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:
Adrian Holovaty 2006-12-17 05:11:48 +00:00
parent 546297be27
commit e76e2aaffb
2 changed files with 3 additions and 1 deletions

View File

@ -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 *

View File

@ -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):