design decision tree survey using django admin interface

200 views
Skip to first unread message

anc

unread,
Jul 14, 2015, 11:49:38 PM7/14/15
to django...@googlegroups.com
I need to build a survey tool which provides an interface to the survey administrator to add/edit/delete questions. I understand we can do it through the admin interface. But can we modify the admin interface to provide branched/skip logic feature so that the administrator can design a survey where the next question to be displayed will depend on the answer of the previous question? I mean this branch logic feature will allow the survey administrator to create a decision tree survey.


Thanks,
Ananya

Luis Zárate

unread,
Jul 15, 2015, 4:18:05 AM7/15/15
to django...@googlegroups.com
I know it is not the answer of your question but for your survey design it is important that you see this links.

https://github.com/chrisglass/django_polymorphic
https://github.com/django-mptt/django-mptt/

I know that because I did a survey app years ago, but unfortunately it is not free and it is in spanish too.



--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cbbbb869-d9a2-4bf2-a370-efd77ad2e925%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
"La utopía sirve para caminar" Fernando Birri


dc

unread,
Jul 16, 2015, 11:46:00 PM7/16/15
to django...@googlegroups.com
Thanks. I'll look into it.

Derek

unread,
Jul 17, 2015, 9:22:43 AM7/17/15
to django...@googlegroups.com
I doubt this is possible with plain admin, which is designed for CRUD operations

Trying looking into form wizards:

or, if that cannot handle your logic, then write an action:
(Django's docs are a bit lacking for this latter case, but there are blogs with more detailed examples.  Actions can handle quite complex processes; but you will need to create that logic.

ananya choudhury

unread,
Jul 17, 2015, 12:27:15 PM7/17/15
to django...@googlegroups.com
Can this be done using Django-dynamic-forms? 

You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/dsqeRq37CGk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages