mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-11 16:42:26 +03:00
fixing the middleware order
This commit is contained in:
parent
727281e99a
commit
a68f256e5b
|
@ -65,9 +65,9 @@ OPBEAT = {
|
||||||
'APP_ID': env('DJANGO_OPBEAT_APP_ID'),
|
'APP_ID': env('DJANGO_OPBEAT_APP_ID'),
|
||||||
'SECRET_TOKEN': env('DJANGO_OPBEAT_SECRET_TOKEN')
|
'SECRET_TOKEN': env('DJANGO_OPBEAT_SECRET_TOKEN')
|
||||||
}
|
}
|
||||||
MIDDLEWARE_CLASSES += (
|
MIDDLEWARE_CLASSES = (
|
||||||
'opbeat.contrib.django.middleware.OpbeatAPMMiddleware',
|
'opbeat.contrib.django.middleware.OpbeatAPMMiddleware',
|
||||||
)
|
) + MIDDLEWARE_CLASSES
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
# set this to 60 seconds and then to 518400 when you can prove it works
|
# set this to 60 seconds and then to 518400 when you can prove it works
|
||||||
SECURE_HSTS_SECONDS = 60
|
SECURE_HSTS_SECONDS = 60
|
||||||
|
|
Loading…
Reference in New Issue
Block a user