mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-25 00:34:18 +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'),
|
||||
'SECRET_TOKEN': env('DJANGO_OPBEAT_SECRET_TOKEN')
|
||||
}
|
||||
MIDDLEWARE_CLASSES += (
|
||||
MIDDLEWARE_CLASSES = (
|
||||
'opbeat.contrib.django.middleware.OpbeatAPMMiddleware',
|
||||
)
|
||||
) + MIDDLEWARE_CLASSES
|
||||
{%- endif %}
|
||||
# set this to 60 seconds and then to 518400 when you can prove it works
|
||||
SECURE_HSTS_SECONDS = 60
|
||||
|
|
Loading…
Reference in New Issue
Block a user