mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Fix context processor by including it in settings.py
This commit is contained in:
parent
11e7abea52
commit
2c20db83fa
3 changed files with 5 additions and 2 deletions
|
@ -27,6 +27,8 @@ services:
|
||||||
- DJANGO_DEBUG=True
|
- DJANGO_DEBUG=True
|
||||||
# Tell Django where it is being hosted
|
# Tell Django where it is being hosted
|
||||||
- DJANGO_BASE_URL=http://localhost:8080
|
- DJANGO_BASE_URL=http://localhost:8080
|
||||||
|
# Is this a production environment
|
||||||
|
- IS_PRODUCTION
|
||||||
# Public site URL link
|
# Public site URL link
|
||||||
- GETGOV_PUBLIC_SITE_URL=https://beta.get.gov
|
- GETGOV_PUBLIC_SITE_URL=https://beta.get.gov
|
||||||
# Set a username for accessing the registry
|
# Set a username for accessing the registry
|
||||||
|
|
|
@ -210,6 +210,7 @@ TEMPLATES = [
|
||||||
"registrar.context_processors.language_code",
|
"registrar.context_processors.language_code",
|
||||||
"registrar.context_processors.canonical_path",
|
"registrar.context_processors.canonical_path",
|
||||||
"registrar.context_processors.is_demo_site",
|
"registrar.context_processors.is_demo_site",
|
||||||
|
"registrar.context_processors.is_production",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue