Misc fixes

-  add remove orphans to start command
- ignore keys directory
- update default api url config to use /api
This commit is contained in:
Dana Lambert 2021-11-18 11:21:18 +13:00
parent 6c72b457e0
commit 26d1f3ea09
4 changed files with 5 additions and 5 deletions

View file

@ -28,11 +28,10 @@ SECRET_KEY = os.getenv("DJANGO_SECRET_KEY", 'django-insecure-5t05qc2&14xuot4lgs#
DEBUG = os.getenv('DJANGO_DEBUG_MODE', '') != 'False'
# os.getenv("ALLOWED_HOSTS", "").split(","),
ALLOWED_HOSTS = (BASE_URL,)
ALLOWED_HOSTS = [BASE_URL, "localhost"]
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',