We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting this error in production. I have no idea why but it's due to this package.
My Form has the csrftoken set:
<form method="post" action="." enctype="multipart/form-data"> {% csrf_token %} .. </form>
and my setting file:
MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", # Cors Headers App "corsheaders.middleware.CorsMiddleware", "django.middleware.common.CommonMiddleware", # End Cors Headers App "django.middleware.locale.LocaleMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", ]
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting this error in production.
I have no idea why but it's due to this package.
My Form has the csrftoken set:
and my setting file:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: