#26142: Provide a way for model formsets to disallow new object creation
-----------------------------+---------------------------------------------
Reporter: Tim Graham | Owner: Vlad
Type: New feature | Status: closed
Component: Forms | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------+---------------------------------------------
Comment (by Matthias Kestenholz):
Hi all
Great new feature! Thanks. I wanted to comment on the naming of the new
parameter; maybe `can_add=True` would be a better default than
`edit_only=False`? There's a precedent for using `can_*` in Django's
codebase and it would be a bit more consistent.
--
Ticket URL: <https://code.djangoproject.com/ticket/26142#comment:33>
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/067.5973fe1890bac82621a353d82bf316ef%40djangoproject.com.