Perform to move main developing to git

This commit is contained in:
2022-09-29 12:19:10 +03:00
committed by serge
parent fcf44c9bac
commit afd8f39e23
3 changed files with 83 additions and 90 deletions

View File

@@ -27,7 +27,7 @@ SECRET_KEY = 'django-insecure-59tghb+-((1(j5zq5m_=5v4zfna8m&^e6aet5wxrb@ol&n!*41
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ["arka.topserv4824.duckdns.org", "192.168.0.160", "localhost"]
ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
CSRF_TRUSTED_ORIGINS = ['https://arka.topserv4824.duckdns.org']
# Application definition
@@ -82,17 +82,9 @@ WSGI_APPLICATION = 'arka.wsgi.application'
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'vlad_arkadb',
'USER': 'vlad_arka',
'PASSWORD': '#e1LjpSY74^2',
'HOST': 'localhost',
'PORT': '',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}