mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Added blank like at the end of context_providers/matomo.py for Flake8
Renamed context provider to 'consent_provider' to make more sense when adding it to your context_provider
This commit is contained in:
parent
d1d1be189a
commit
2d228686ad
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import utils
|
||||
from django.conf import settings
|
||||
|
||||
def matomo_consent_provider(request):
|
||||
def consent_provider(request):
|
||||
"""
|
||||
Add Mamoto consent script to the requests context.
|
||||
:Cases:
|
||||
|
|
@ -31,4 +31,4 @@ def matomo_consent_provider(request):
|
|||
matomo_event="forgetConsentGiven",
|
||||
)
|
||||
)}
|
||||
return {'consent_script': ""}
|
||||
return {'consent_script': ""}
|
||||
|
|
|
|||
Loading…
Reference in a new issue