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.

Reply via email to