#11183: BaseForm init leaves pointers pointing back to base_fields when widget
is a
Select
-------------------------------------+--------------------------------------
Reporter: margieroginski | Owner: lukeplant
Status: assigned | Milestone: 1.2
Component: Forms | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by margieroginski):
Hi Luke,
I unfortunately am not using this code or functionality anymore. Early on
in my django work I was trying to use the admin app as my end user app,
but I have long since abandoned that. It seems to me that in general
choices does not get updated on the widget associated with fields that use
choices. For example, I think that if I create a ChoiceField in my form,
and then recreate the ChoiceField with different choices, the underlying
widget will not get those choices. I believe I ran into this and Malcolm
said this was the case, though I am a bit hazy on it now.
In any case, I have not looked at the above code in almost a year since it
is no longer an issue for me, so I don't think I can add a lot of value on
it at this point. Sorry about that ...
Margie
--
Ticket URL: <http://code.djangoproject.com/ticket/11183#comment:7>
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.