#9746: Using a custom widget for a item in ModelForm should use the model
verbose_name?
---------------------------------+------------------------------------------
Reporter: waltercruz | Owner: nobody
Status: closed | Milestone:
Component: Forms | Version: 1.0
Resolution: invalid | Keywords: forms, model, verbose name,
label
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Changes (by brosner):
* status: new => closed
* resolution: => invalid
Comment:
This is documented behavior.
http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#overriding-
the-default-field-types. You either just have to re-specify it or override
the `ModelForm`'s `__init__` and pop the widget it through `self.fields`.
--
Ticket URL: <http://code.djangoproject.com/ticket/9746#comment:2>
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
-~----------~----~----~----~------~----~------~--~---