Fixed default ALLOWED_HOSTS; enable debug in test.
All checks were successful
Urania unit tests / Run-unit-tests (push) Successful in 17s
All checks were successful
Urania unit tests / Run-unit-tests (push) Successful in 17s
This commit is contained in:
@@ -21,7 +21,8 @@ DEBUG = env.bool("DJANGO_DEBUG", default=False)
|
||||
print('Debug mode ENABLED. Disable this before going into production') if DEBUG else None
|
||||
|
||||
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS",
|
||||
default="localhost,127.0.0.1,0.0.0.0")
|
||||
default=["localhost","127.0.0.1"])
|
||||
print('ALLOWED_HOSTS is set to %s' % ','.join(ALLOWED_HOSTS)) if DEBUG else None
|
||||
|
||||
INSTALLED_APPS = [
|
||||
"django.contrib.admin",
|
||||
|
||||
Reference in New Issue
Block a user