summaryrefslogtreecommitdiff
path: root/django/newforms/__init__.py
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2006-11-25 22:37:50 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2006-11-25 22:37:50 +0000
commit3afdd8850485c9119b50a5a736d3aa16b7b912fe (patch)
treeaa9663337dfd0c54d97f826bf912aa5a83af3468 /django/newforms/__init__.py
parent889bf502818df7cbf8332a330703ff97dce01f2d (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__.py13
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 *