From: Matthijs Kooijman Date: Sun, 14 Sep 2008 13:29:23 +0000 (+0200) Subject: Change newforms to forms. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=e865b801f1b8062086f040c2cf5d9d227bb36649;p=matthijs%2Fprojects%2Fxerxes.git Change newforms to forms. --- diff --git a/tools/forms.py b/tools/forms.py index b420e1f..657940e 100644 --- a/tools/forms.py +++ b/tools/forms.py @@ -1,8 +1,8 @@ # Mostly based on code from Amelie, a project by Inter-Actief. -from django.newforms.util import ErrorList -from django.newforms.models import BaseModelForm, ModelFormMetaclass -from django.newforms.forms import BaseForm, DeclarativeFieldsMetaclass +from django.forms.util import ErrorList +from django.forms.models import BaseModelForm, ModelFormMetaclass +from django.forms.forms import BaseForm, DeclarativeFieldsMetaclass class BaseContextForm(BaseForm): def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None,