On Sunday, 2 February 2014 09:11:32 UTC, SAHIL SHEKHAWAT wrote:
>
> I have a variable generated in a view  and i want to pass it as an 
> argument to another view.
> Both views have their urls so, i can't use GET request.
> I want to create invisible fields and pass it using POST request.
> Also, i am using this on google app engine so i want to avoid using 
> databases
> can anyone help me how can i do that?
> sorry, if this is a very basic question but i have tried many ways!
>

I must say I don't really understand this question. If you're passing a 
parameter to the second view, it must be expecting the parameter anyway, so 
why can't you put it in the URL? And even if it's not in the main part of 
the URL, you can still pass GET parameters (the bits after the ?) without 
changing the urlconf, and access them in the view via `request.GET` - no 
need for a POST. And finally, GAE includes a datastore so there's no need 
to avoid accessing it.
--
DR.

-- 
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/db982355-0a50-47ce-a0d0-33aeeeeb1286%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to