Re: Django redirect to a view function after selecting an item from dropdown box

2019-09-13 Thread Nelson Varela
check the value of your form field in the post. Based on that value you van 
do stuff

Op woensdag 11 september 2019 14:39:12 UTC+2 schreef Rudolph Louis Cabeltis:
>
> Hello,
>
> I am using Forms by Django. And that form has a select box with two 
> options.
> After a user selected an option. I would like the user to do the function 
> in the django view.
> Will I be able to do this without using AJAX or Javascript?
>
> Thank you.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f194d750-3a48-4c28-83b2-ca12c1394c73%40googlegroups.com.


Django redirect to a view function after selecting an item from dropdown box

2019-09-11 Thread Rudolph Louis Cabeltis
Hello,

I am using Forms by Django. And that form has a select box with two options.
After a user selected an option. I would like the user to do the function 
in the django view.
Will I be able to do this without using AJAX or Javascript?

Thank you.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b55c30b7-09a0-4002-85bc-44f28bf947cd%40googlegroups.com.