Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 error / csrf #114

Open
Diolor opened this issue Sep 7, 2013 · 1 comment
Open

403 error / csrf #114

Diolor opened this issue Sep 7, 2013 · 1 comment

Comments

@Diolor
Copy link

Diolor commented Sep 7, 2013

For some reason I am getting a 403 error probably because of the CSRF. The issue is replicated in the examples in the repository as well. I am running Django version 1.5.2.

I have added 'django.middleware.csrf.CsrfViewMiddleware' in MIDDLEWARE_CLASSES and the token in my template:

{% csrf_token %}

Example of the error:
POST http://127.0.0.1:8000/dajaxice/mysite.args_example/ 403 (FORBIDDEN)

@komackaj
Copy link

komackaj commented Jan 7, 2014

Can be still replicated in Django 1.6.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants