dont load plausible when on debug
This commit is contained in:
parent
a3cf1cc590
commit
99f4edc209
2 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,7 @@ SECRET_KEY = env.str("SECRET_KEY")
|
|||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = env.bool("DEBUG", default=False)
|
||||
INTERNAL_IPS = ["127.0.0.1"]
|
||||
|
||||
# Get all allowed hosts
|
||||
original_hosts = env.list("ALLOWED_HOSTS", default=[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue