diff --git a/wish/settings.py b/wish/settings.py index c6ae331..70516b6 100644 --- a/wish/settings.py +++ b/wish/settings.py @@ -30,7 +30,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['wish.ledoian.cz'] # Application definition @@ -95,7 +95,13 @@ if DEBUG: } } else: - ... + DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql', + 'NAME': 'wish', + 'USER': 'wish', + } + } # Password validation