diff --git a/rowsandall_app/settings.py b/rowsandall_app/settings.py index c2a90e49..c62a27bb 100644 --- a/rowsandall_app/settings.py +++ b/rowsandall_app/settings.py @@ -29,7 +29,8 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'z_@2yia858=2i1cygo4ne3+14&i_&@wlty68$q1igdvn=9k5mo' +SECRET_KEY = CFG['secret_key'] + # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False @@ -104,7 +105,6 @@ TEMPLATES = [ 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', - 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', diff --git a/static/cookielaw/banner.html b/static/cookielaw/banner.html new file mode 100644 index 00000000..e9695a3f --- /dev/null +++ b/static/cookielaw/banner.html @@ -0,0 +1,11 @@ +{% load i18n %} + +
+ {% trans "COOKIE_INFO_OK" %} + {% trans "COOKIE_INFO_PARA" %} +
+