Re: access value from request.GET.get in request.method == 'POST

2010-05-06 Thread dariush
Thank you Scott. Now I can access the "?token=blah" part. This was a very fast and painless help. I will learn more about Post and Get requests. Best regards Said PS: How can I vote for you? On 6 Mai, 17:04, zinckiwi wrote: > > my HTML form tag is as follows: > > > > > > How can I avoid los

Re: access value from request.GET.get in request.method == 'POST

2010-05-06 Thread dariush
On 6 Mai, 14:35, zinckiwi wrote: > First thing would be to ensure that when you submit the form back to > itself, the querystring remains. It's all well and good to visit a > form like this: > > /someapp/myform/?token=blah > > But if your HTML form tag is: > > > > Then you'll lose the "?token=b

access value from request.GET.get in request.method == 'POST

2010-05-06 Thread dariush
Hi to everybody. I am a django and python newbie and I hope that someone can help me here. This is my first post here. I will first explain my problem very abstractly to confine myself to only the bare necessities. I define a function "process" in a views.py file. BEGIN Code def process(request