diff --git a/webstrom/settings.py b/webstrom/settings.py index da4af46..07e517d 100644 --- a/webstrom/settings.py +++ b/webstrom/settings.py @@ -60,6 +60,7 @@ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'django.middleware.common.BrokenLinkEmailsMiddleware', 'allauth.account.middleware.AccountMiddleware', ] diff --git a/webstrom/settings_test.py b/webstrom/settings_test.py index 478dbfc..ff4dd14 100644 --- a/webstrom/settings_test.py +++ b/webstrom/settings_test.py @@ -5,10 +5,11 @@ DEBUG = False ALLOWED_HOSTS = [ - "localhost", "test.strom.sk", ] +APPEND_SLASH = False + CSRF_TRUSTED_ORIGINS = [ "https://test.strom.sk", ] @@ -38,3 +39,7 @@ ("Martin Mihálik", "mihalik@strom.sk"), ("Peter Kovács", "kovacs@strom.sk"), ] + +MANAGERS = [ + ("Martin Mihálik", "mihalik@strom.sk"), +]