new emails for wtem results
[edumed.git] / edumed / settings.d / 40-context.py
1 TEMPLATE_CONTEXT_PROCESSORS = tuple(x for x in (
2     "django.contrib.auth.context_processors.auth"
3             if "django.contrib.auth" in INSTALLED_APPS else None,
4     "django.core.context_processors.debug",
5     "django.core.context_processors.i18n",
6     "django.core.context_processors.media",
7     "django.core.context_processors.static",
8     "django.core.context_processors.tz",
9     "django.contrib.messages.context_processors.messages"
10             if 'django.contrib.messages' in INSTALLED_APPS else None,
11     "django.core.context_processors.request",
12     'pybb.context_processors.processor',
13     'edumed.context_processors.base_template'
14 ) if x is not None)