diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-11-25 22:37:50 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-11-25 22:37:50 +0000 |
| commit | 3afdd8850485c9119b50a5a736d3aa16b7b912fe (patch) | |
| tree | aa9663337dfd0c54d97f826bf912aa5a83af3468 /django/newforms/__init__.py | |
| parent | 889bf502818df7cbf8332a330703ff97dce01f2d (diff) | |
[generic-auth] Merged to trunk [4103].
git-svn-id: http://code.djangoproject.com/svn/django/branches/generic-auth@4104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/newforms/__init__.py')
| -rw-r--r-- | django/newforms/__init__.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/django/newforms/__init__.py b/django/newforms/__init__.py index 2a472d7b39..a445a21bfb 100644 --- a/django/newforms/__init__.py +++ b/django/newforms/__init__.py @@ -14,15 +14,4 @@ from util import ValidationError from widgets import * from fields import * from forms import Form - -########################## -# DATABASE API SHORTCUTS # -########################## - -def form_for_model(model): - "Returns a Form instance for the given Django model class." - raise NotImplementedError - -def form_for_fields(field_list): - "Returns a Form instance for the given list of Django database field instances." - raise NotImplementedError +from models import * |
