Pierre-Sassoulas / django-survey

A django survey app that can export results as CSV or PDF using your native language.
GNU Affero General Public License v3.0
217 stars 145 forks source link

Does not save all the questions in the django admin when new survey is created #113

Open dacitsme opened 3 years ago

dacitsme commented 3 years ago

Django 1.11 Python 3.7.7

Only the first 2 questions are saved and rest are ignored. The workaround right now is to edit the survey and add the questions again.

Pierre-Sassoulas commented 3 years ago

Hello thank you for the bug report. Can you gives more detail about they survey and the option it has so we can reproduce the problem?

dacitsme commented 3 years ago

Hello!!

Configuration of the survey app (default) image

Sample survey image And add any questions of your choice and make sure you use Add another Question to add more questions. It doesn't save any questions that were added after clicking on the Add another Question.

Thank you.

ebdavison commented 3 years ago

I am experiencing the same issue and my workaround is to add one question and save. Then add another question and save. And so on until all questions are answered.

gjelsas commented 3 years ago

I can't reproduce that. I just created some Surveys and I can add three and four questions of different types and save them all at once. No Problem here... Python 3.8.5 Django 3.1.3

Pierre-Sassoulas commented 3 years ago

Thanks @gjelsas. Maybe a problem with old version of Django then ? I'd advise to try updating to Django 2 or 3 if you encounter the problem.