Self hosted FLOSS fitness/workout, nutrition and weight tracker
Check if the 'do not track' header is sent and pass it to the template
Roland Geiderec6399e1a3f4
diff --git a/manager/context_processor.py b/manager/context_processor.pyindex 6f945ac4d..1e57411b9 100644--- a/manager/context_processor.py+++ b/manager/context_processor.py@@ -18,5 +18,9 @@ from workout_manager import get_versiondef processor(request):return {- 'version' : get_version()+ # Application version+ 'version' : get_version(),++ # Do not track header+ 'DNT': request.META['HTTP_DNT']}