You should be able to do it via foo_value = request.GET['foo'].

PS: The above should work for a post like <urlconf>/?foo=bar

On Mar 18, 4:06 pm, Jorge Romo <eskoria.r...@gmail.com> wrote:
> Hello!
>
> I was trying to see if there's a way (I'm pretty sure there is a way)
> to prepopulate a form field from an url. For example: /foo?=bar and
> that in my form field "bar" is displayed. I have to work with java?
> there is another way?

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to