Notifications refresh v2 and session caching

This commit is contained in:
Erik Kalkoken
2021-01-16 00:09:49 +00:00
committed by Ariel Rin
parent aeeb35bc60
commit 4394d25961
27 changed files with 869 additions and 152 deletions

View File

@@ -104,8 +104,7 @@ TEMPLATES = [
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'allianceauth.notifications.context_processors.user_notification_count',
'django.template.context_processors.tz',
'allianceauth.context_processors.auth_settings',
],
},
@@ -173,6 +172,8 @@ CACHES = {
}
}
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
DEBUG = True
ALLOWED_HOSTS = ['*']
DATABASES = {