#3433 closed (duplicate)
Use javascript to add more items when using edit_in_line on a ForeignKey
Description ¶
When you use edit_in_line on a ForeignKey, you should specify how many options will you limit on creating and modification of the object (with the keyword num_in_admin and so). If we think on the polls example from the doc, I have a Poll and it may have many Choices, I am limited to "num_in_admin" choices on creating, and if I want more than "num_in_admin" choices, I must create and then modify.
My feature request is, instead of being limited to "num_in_admin", django may have a javascript function to create another inline editable item. Google mail uses this idea to add attachments to emails, you have a link "add another" that creates a new input to load another file.
Change History (5)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
See also http://eggdrop.ch/blog/2007/02/15/django-dynamicforms/