From 1559081cec5273c70ca3837230a2c866686f59a7 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Thu, 11 Mar 2021 21:58:01 +0100 Subject: [PATCH] minors fixs --- docker-compose.dev.yaml | 2 +- my_demo/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index 170a73a..d6da0d9 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -12,7 +12,7 @@ services: - .:/usr/src/app/ environment: DEBUG: "True" - ALLOWED_HOSTS: "localhost" + ALLOWED_HOSTS: "localhost,my-demo.localhost" SECRET_KEY: "mysecret" DOMAIN: "my-demo.localhost" DOMAIN_URL: "http://my-demo.localhost" diff --git a/my_demo/settings.py b/my_demo/settings.py index 579fca6..8abcb9b 100644 --- a/my_demo/settings.py +++ b/my_demo/settings.py @@ -31,13 +31,13 @@ ALLOWED_HOSTS = ["*"] # Application definition INSTALLED_APPS = [ + 'channels', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'channels', 'apps.back', 'apps.front', ]