Re: Request Context problem

2012-02-20 Thread Roald
On 20 feb, 00:03, Reinout van Rees wrote: > On 19-02-12 14:16, dummyman dummyman wrote: > > The solution is simple: just add a {{ csrf_token }} somewhere in your > form. That ought to do it. A typo there, Reinout ;-). You meant: {% csrf_token %} Cheers, Roald -- You received this message

Re: Request Context problem

2012-02-19 Thread Reinout van Rees
On 19-02-12 14:16, dummyman dummyman wrote: I am getting the following eror on posting the form CSRF verification failed. Request aborted. Reason given for failure: CSRF token missing or incorrect. It is already on the first go into your view that Django complains about a missing CSRF t

Request Context problem

2012-02-19 Thread dummyman dummyman
Hi , I am newbie to django Here is my code {% csrf_token %} # some code. here is my view function def ProcessVideo(request): if request.method == "POST": form = U