Use a different-colored favicon in development mode

This commit is contained in:
Raphael Michel
2019-10-07 09:03:46 +02:00
parent 749ddbf21c
commit cb37e7435d
7 changed files with 32 additions and 13 deletions

View File

@@ -99,11 +99,6 @@ def contextprocessor(request):
ctx['js_locale'] = get_moment_locale()
ctx['select2locale'] = get_language()[:2]
if settings.DEBUG and 'runserver' not in sys.argv:
ctx['debug_warning'] = True
elif 'runserver' in sys.argv:
ctx['development_warning'] = True
ctx['warning_update_available'] = False
ctx['warning_update_check_active'] = False
gs = GlobalSettingsObject()