mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-14 06:55:08 +02:00
Include Google Analytics on production
This commit is contained in:
parent
3eef418ff8
commit
bfe97c38ba
2 changed files with 13 additions and 0 deletions
|
@ -31,3 +31,8 @@ def is_demo_site(request):
|
|||
should not appear.
|
||||
"""
|
||||
return {"IS_DEMO_SITE": settings.IS_DEMO_SITE}
|
||||
|
||||
|
||||
def is_production(request):
|
||||
"""Add a boolean if this is our production site."""
|
||||
return {"IS_PRODUCTION": settings.IS_PRODUCTION}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue