Hi,I am a newbie to Django, and will use it in my latest project right
away.
now I encounter a little problem.

How can I get value of query string in template?
http://localhost/mysite/login/?next=/mysite/product/

My aim is to set next value in my login.html, if there is "next" in
query string, use its value, otherwise set "next" a default value.
<input type="hidden" name="next" value="{% url mysite.views.home_page
%}" />

thanks for any help in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to