mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-11 15:34:51 +03:00
updated style of middleware to use doublequotes
This commit is contained in:
parent
23c3ce76f7
commit
1f6ef7c4ec
|
@ -135,7 +135,7 @@ MIDDLEWARE = [
|
||||||
"django.middleware.security.SecurityMiddleware",
|
"django.middleware.security.SecurityMiddleware",
|
||||||
"django.contrib.sessions.middleware.SessionMiddleware",
|
"django.contrib.sessions.middleware.SessionMiddleware",
|
||||||
{ % if cookiecutter.js_task_runner == 'CreateReactApp' - %}
|
{ % if cookiecutter.js_task_runner == 'CreateReactApp' - %}
|
||||||
'corsheaders.middleware.CorsMiddleware', # SEE: https://github.com/ottoyiu/django-cors-headers#setup
|
"corsheaders.middleware.CorsMiddleware", # SEE: https://github.com/ottoyiu/django-cors-headers#setup
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
"django.middleware.locale.LocaleMiddleware",
|
"django.middleware.locale.LocaleMiddleware",
|
||||||
"django.middleware.common.CommonMiddleware",
|
"django.middleware.common.CommonMiddleware",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user