Re: design decision tree survey using django admin interface

2015-07-17 Thread ananya choudhury
Can this be done using Django-dynamic-forms?

On Fri, Jul 17, 2015 at 5:22 AM, Derek  wrote:

> I doubt this is possible with plain admin, which is designed for CRUD
> operations
>
> Trying looking into form wizards:
> https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/
>
> or, if that cannot handle your logic, then write an action:
>
> https://docs.djangoproject.com/en/1.7/ref/contrib/admin/actions/#actions-that-provide-intermediate-pages
> (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.
>
>
> On Friday, 17 July 2015 01:46:00 UTC+2, dc wrote:
>>
>> Thanks. I'll look into it.
>>
>> On Wednesday, July 15, 2015 at 12:18:05 AM UTC-4, luisza14 wrote:
>>>
>>> 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.
>>>
>>>
>>>
>>> 2015-07-14 17:32 GMT-06:00 anc :
>>>
 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

 --
 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/c869-d9a2-4bf2-a370-efd77ad2e925%40googlegroups.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> "La utopía sirve para caminar" Fernando Birri
>>>
>>>
>>>   --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/3bc98d3a-1ffa-46f6-b818-2421c6ec81a7%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAL1iRWO-%2Bj5x3xsvOoTtNpyA0kea-4n2%2Br1GZKhGZbUt9Tu%3D8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: design decision tree survey using django admin interface

2015-07-17 Thread Derek
I doubt this is possible with plain admin, which is designed for CRUD 
operations

Trying looking into form wizards:
https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/

or, if that cannot handle your logic, then write an action:
https://docs.djangoproject.com/en/1.7/ref/contrib/admin/actions/#actions-that-provide-intermediate-pages
(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.

On Friday, 17 July 2015 01:46:00 UTC+2, dc wrote:
>
> Thanks. I'll look into it.
>
> On Wednesday, July 15, 2015 at 12:18:05 AM UTC-4, luisza14 wrote:
>>
>> 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.
>>
>>
>>
>> 2015-07-14 17:32 GMT-06:00 anc :
>>
>>> 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
>>>
>>> -- 
>>> 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/c869-d9a2-4bf2-a370-efd77ad2e925%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> "La utopía sirve para caminar" Fernando Birri
>>
>>
>> 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/3bc98d3a-1ffa-46f6-b818-2421c6ec81a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: design decision tree survey using django admin interface

2015-07-16 Thread dc
Thanks. I'll look into it.

On Wednesday, July 15, 2015 at 12:18:05 AM UTC-4, luisza14 wrote:
>
> 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.
>
>
>
> 2015-07-14 17:32 GMT-06:00 anc >:
>
>> 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
>>
>> -- 
>> 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/c869-d9a2-4bf2-a370-efd77ad2e925%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> "La utopía sirve para caminar" Fernando Birri
>
>
> 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/47cdbf6c-69ed-4c62-b826-90fc60c7d403%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: design decision tree survey using django admin interface

2015-07-14 Thread Luis Zárate
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.



2015-07-14 17:32 GMT-06:00 anc :

> 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
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/c869-d9a2-4bf2-a370-efd77ad2e925%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



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

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAG%2B5VyMxpBuaMXm728DuaTh-TXmQ2jrjjiZ9qjTw7i7%3DBoFF0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.