I also think that should be a default simple template in the package.

On Fri, Aug 5, 2011 at 12:52 PM, Phang Mulianto <braveh...@gmail.com> 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 helps you alot as it help me too..
> On Aug 5, 2011 12:12 PM, "bob gailer" <bgai...@gmail.com> wrote:
> >
> >
> > On Aug 4, 11:47 pm, Mario Gudelj <mario.gud...@gmail.com> 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 verification failed. Request aborted.
> > Help
> >
> > Reason given for failure:
> >
> > CSRF token missing or incorrect.
> >
> >
> > In general, this can occur when there is a genuine Cross Site Request
> > Forgery, or when Django's CSRF mechanism has not been used correctly.
> > For POST forms, you need to ensure:
> >
> > The view function uses RequestContext for the template, instead of
> > Context.
> > In the template, there is a {% csrf_token %} template tag inside
> > each POST form that targets an internal URL.
> > If you are not using CsrfViewMiddleware, then you must use
> > csrf_protect on any views that use the csrf_token template tag, as
> > well as those that accept the POST data.
> >
> > I have no idea what to do with that message.
> >
> > I need a lot more hand-holding, since I am VERY new to django.
> >
> > --
> > 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.
> >
>
> --
> 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.
>



-- 
A decathlon Developer & programmer
http://blog.eood.cn/

-- 
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