0

In my model I have definde two Tables:

Bill and delivery

I want one Template with the BillCreate - Form, and up to five times the Delivery create from.

Is it possible to show the generic CreateViews, in one template? How to add the Form for the delivery with a button "add delivery"?

spitzbuaamy
  • 751
  • 2
  • 10
  • 25
  • possible duplicate of [Multiple Forms and Formsets in CreateView](http://stackoverflow.com/questions/12573992/multiple-forms-and-formsets-in-createview) – mariodev Feb 01 '14 at 13:58
  • I use ClassBasedViews. Now I don't know where to define my Formset – spitzbuaamy Feb 01 '14 at 15:37
  • You can also use [inlineformsetview](http://django-extra-views.readthedocs.org/en/latest/views.html#inlineformsetview) from [django-extra-views](http://github.com/AndrewIngram/django-extra-views). – mariodev Feb 01 '14 at 15:53

0 Answers0