I had the same thing...
all what you need is to add " {% csrf_token %}" in each template for Post
form
it will solve your issue
On Sat, Aug 6, 2011 at 7:42 AM, bob gailer wrote:
> I have stumbled around following various pieces of advice:
>
> added to views:
>from django.core.context_proce
I have stumbled around following various pieces of advice:
added to views:
from django.core.context_processors import csrf
modified views to end with:
form = ContactForm()
c = {}
c.update(csrf(request))
c['form'] = form
return render_to_response('contact_fo
I also think that should be a default simple template in the package.
On Fri, Aug 5, 2011 at 12:52 PM, Phang Mulianto wrote:
> well..like the error said..you need to put {% csrf_token %} inside your
> form.. do you read the tutorial? you should read it if you serious getting
> in django. . it he
well..like the error said..you need to put {% csrf_token %} inside your
form.. do you read the tutorial? you should read it if you serious getting
in django. . it helps you alot as it help me too..
On Aug 5, 2011 12:12 PM, "bob gailer" wrote:
>
>
> On Aug 4, 11:47 pm, Mario Gudelj wrote:
>> Hey B
On Aug 4, 11:47 pm, Mario Gudelj wrote:
> Hey Bob,
>
> You can download some basic templates for this
> pagehttp://devdoodles.wordpress.com/2009/02/16/user-authentication-with-d...
OK - did that - now what? I can get the login form displayed - when I
click get:
Forbidden (403)
CSRF verificat
Hey Bob,
You can download some basic templates for this page
http://devdoodles.wordpress.com/2009/02/16/user-authentication-with-django-registration/
Cheers,
On 5 August 2011 12:42, bob gailer wrote:
> I followed the installation & configuration of django-registration up
> to the start of th
6 matches
Mail list logo