Why is my Django SessionWizardView Survey Application Data not showing up in a usable format in my MySQL Database?

前端 未结 1 487
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-24 13:08

I have built a multi-page survey application using a Django 1.6.2 SessionWizardView but I am having some trouble with how the data submitted through the survey form is being sav

相关标签:
1条回答
  • 2021-01-24 14:05

    You have to either write the models.py or set a specific database that you have in mind to be the database accessed. Neither of which seem to be done here.

    These links from the official documentation should help :

    https://docs.djangoproject.com/en/1.6/ref/databases/

    https://docs.djangoproject.com/en/1.6/topics/db/

    PS - You should consider using Django 1.8 instead. It's even better documented and much easier to work with. Additionally porting your codes from one Django version to the next is really very easy. Hardly a little more than simple copy pasting.

    0 讨论(0)
提交回复
热议问题