#6453: Explicitly requested fields (i.e. Meta: fields = [...]) should be
included
in a ModelForm whether they are editable or not
----------------------------------------+-----------------------------------
Reporter: SmileyChris | Owner: nobody
Status: closed | Milestone:
Component: Forms | Version: SVN
Resolution: wontfix | Keywords:
Stage: Ready for checkin | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by SmileyChris):
* status: new => closed
* resolution: => wontfix
Comment:
Even though it would be nice, unfortunately it's a backwards incompatible
change. It hasn't been something that has been brought up in my memory
since this ticket was opened so I am going to close as a "soft" wontfix.
If someone thinks this could be useful still, an alternate approach would
be to propose a method which determined whether a field should be included
(this could then be overridden by a subclass to implement the
functionality of this ticket).
--
Ticket URL: <http://code.djangoproject.com/ticket/6453#comment:3>
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.