#30789: Add list of required fields to ModelForm.
-----------------------------+--------------------------------------
Reporter: ahmad | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by felixxm):
* version: 2.2 => master
* type: Cleanup/optimization => New feature
Comment:
Thanks for this ticket, however to make this really useful we should make
changes also in `modelform_factory()` and probably add a new parameter to
`Meta`. I'm going to won't fix this to for reasons described in #17924 and
https://code.djangoproject.com/ticket/20000#comment:9. You can achieve
this by overriding `__init__ ` and access `self.fields` directly. Please
open a thread on the DevelopersMailingList if you don't agree.
Related with #22925.
--
Ticket URL: <https://code.djangoproject.com/ticket/30789#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.734ad7899ce6a876a64e4a270aec8db5%40djangoproject.com.