minors fixs

This commit is contained in:
Andros Fenollosa 2021-03-11 21:58:01 +01:00
parent f1883f7010
commit 1559081cec
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ services:
- .:/usr/src/app/ - .:/usr/src/app/
environment: environment:
DEBUG: "True" DEBUG: "True"
ALLOWED_HOSTS: "localhost" ALLOWED_HOSTS: "localhost,my-demo.localhost"
SECRET_KEY: "mysecret" SECRET_KEY: "mysecret"
DOMAIN: "my-demo.localhost" DOMAIN: "my-demo.localhost"
DOMAIN_URL: "http://my-demo.localhost" DOMAIN_URL: "http://my-demo.localhost"

View File

@ -31,13 +31,13 @@ ALLOWED_HOSTS = ["*"]
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
'channels',
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'channels',
'apps.back', 'apps.back',
'apps.front', 'apps.front',
] ]