Self hosted FLOSS fitness/workout, nutrition and weight tracker
Set a default if the browser doesn't send the DNT header
Roland Geider5437d5135213
diff --git a/manager/context_processor.py b/manager/context_processor.pyindex 1e57411b9..1d956a102 100644--- a/manager/context_processor.py+++ b/manager/context_processor.py@@ -22,5 +22,5 @@ def processor(request):'version' : get_version(),# Do not track header- 'DNT': request.META['HTTP_DNT']+ 'DNT': request.META.get('HTTP_DNT', False)}