#3334: Dynamic Creation of newforms Persists field data
-----------------------------------------------+----------------------------
Reporter: Deryck Hodge <[EMAIL PROTECTED]> | Owner: adrian
Status: closed | Component:
django.newforms
Version: SVN | Resolution: fixed
Keywords: | Stage:
Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------------------+----------------------------
Changes (by adrian):
* status: new => closed
* resolution: => fixed
Comment:
(In [4437]) Fixed #3334 -- Changed newforms Form class construction so
that appending to (or altering) self.fields affects only the instance, not
the class. As a consequence, self.fields is created in Form.__init__().
The form metaclass now creates a variable self.base_fields instead of
self.fields.
--
Ticket URL: <http://code.djangoproject.com/ticket/3334#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---