Reading the newforms.forms says that you should subclass from BaseForm
rather than Form.

Have got this working by changing by changing newforms.forms.py
__all__ to  ('BaseForm', 'Form', 'DeclarativeFieldsMetaclass') to
allow:

class NewForm( forms.BaseForm ):
    def __init__(self, arg=None):
        super(NewForm, self).__init__(arg)
        ........my attributes........

    __metaclass__ = forms.DeclarativeFieldsMetaclass

After reading <Sites crashing after moving to 4431> am I right in
thinking this will cockup my next svn update?

If so how should I subclass newforms.Form?

David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to