#13769: ModelForm: override default field attributes
---------------------------------------------+------------------------------
Reporter: darkrho | Owner: asenchi
Status: reopened | Milestone:
Component: Forms | Version: SVN
Resolution: | Keywords: modelform
fields_attrs
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by Petr Marhoun <[email protected]>):
* status: closed => reopened
* resolution: fixed =>
Comment:
Ticket reopened: New meta attribute "widgets" was really implemented in
1.2, but it is only for overriding of one attribute "widget". This ticket
is about overriding of general attributes (for example label, required or
something specific for given field) without total replacement of the
field.
Added new version of patch which could be applied against trunk. And it is
again with doctests - model_forms tests have not been ported to unittest
yet.
--
Ticket URL: <http://code.djangoproject.com/ticket/13769#comment:5>
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.