diff options
| author | Robin Munn <robin.munn@gmail.com> | 2006-12-08 15:10:09 +0000 |
|---|---|---|
| committer | Robin Munn <robin.munn@gmail.com> | 2006-12-08 15:10:09 +0000 |
| commit | 122426e7453ed638a0c5be7e8b925adcddea3889 (patch) | |
| tree | a095a661aca53e0ceee021d93a2a503783b71c14 /django/newforms/__init__.py | |
| parent | dadfca08c0db567ce33284aaa8eb388cf667a836 (diff) | |
sqlalchemy: Merged revisions 4054 to 4185 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/sqlalchemy@4186 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 * |
