Monday, March 2, 2020

How to create multipage forms with different models

I am a building a small project in Django. I am able to create two or more forms in a template but now, I want to split the form to separate templates with each form belong to different models. How can I achieve this? Here is a link to dpaste with the multiple forms in a template I created: http://dpaste.com/1WX0RC8

All help and suggestions will be appreciated.

PS. I have tried it with formtools and it worked. I am trying to learn how to do the same thing with function based views. Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/196be2b8-36e0-4565-b010-51595912c2cc%40googlegroups.com.

No comments:

Post a Comment