#9532: min_num on formsets
-------------------+--------------------------------------------------------
 Reporter:  gsf    |       Owner:  nobody    
   Status:  new    |   Milestone:            
Component:  Forms  |     Version:  SVN       
 Keywords:         |       Stage:  Unreviewed
Has_patch:  0      |  
-------------------+--------------------------------------------------------
 Formsets have a max_num for limiting the number of forms, but no way to
 ensure a minimum.

 Use case: I want an address formset that displays all addresses that have
 been created and no extras, unless there are no addresses, then one empty
 form should be displayed.  I would set extra=0 and min_num=1.

 Patch included is just a beginning.  I may have missed a function or two
 and I haven't touched docs or tests.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9532>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to