Django FormWizard with dynamic forms

后端 未结 5 1903
既然无缘
既然无缘 2021-02-04 18:48

I want to implement a simple 2 part FormWizard. Form 1 will by dynamically generated something like this:

class BuyAppleForm(forms.Form):
   creditcard = forms.C         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 19:37

    How about changing the call method to take an extra parameter?

    something similar to this: http://d-w.me/blog/2010/3/18/15/

提交回复
热议问题