#11183: BaseForm init leaves pointers pointing back to base_fields when widget
is a
Select
-------------------------------------+--------------------------------------
Reporter: margieroginski | Owner: lukeplant
Status: closed | Milestone: 1.2
Component: Forms | Version: 1.0
Resolution: fixed | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by lukeplant):
For the record, in reply to Alex:
- There is a lot of discussion on this on #5505
- relevant commits are [6156], [6415], [6450]
The current state is that if I remove the `__deepcopy__` from Widget and
subclasses I don't actually get any failing tests, but there may not be
any specific tests for the problems of not defining that method. If I
remove the `__deepcopy__` from Field and subclasses I get lots of failing
tests and exceptions (mainly seem to be about copying regexes).
--
Ticket URL: <http://code.djangoproject.com/ticket/11183#comment:11>
Django <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.