#17845: Provide a way for model formsets to know how many records will be created -----------------------------+-------------------- Reporter: mstevens@… | Owner: nobody Type: New feature | Status: new Component: Forms | Version: 1.3 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------+-------------------- This is a feature request - please provide an easy way for model formsets to know how many records will be created.
As an example, I'm trying to write a clean() method for an inlineformset that checks that the database will always contain at least one model row when saved. The information to do this doesn't seem to be available. -- Ticket URL: <https://code.djangoproject.com/ticket/17845> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.