поправил файл настроек
This commit is contained in:
parent
feb1493ecd
commit
4a5bc8cc6b
@ -13,10 +13,12 @@ DEBUG = DEBUG.lower().strip() in ('true', 'yes', '1', 'y', 't')
|
|||||||
|
|
||||||
AUTH_USER_MODEL = 'auth.User'
|
AUTH_USER_MODEL = 'auth.User'
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = os.getenv(
|
||||||
'localhost',
|
'DJANGO_ALLOWED_HOSTS',
|
||||||
'127.0.0.1',
|
default=[
|
||||||
]
|
'localhost,127.0.0.1',
|
||||||
|
],
|
||||||
|
).split(',')
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
'films.apps.FilmsConfig',
|
'films.apps.FilmsConfig',
|
||||||
|
|||||||
@ -4,3 +4,4 @@ django-cleanup==8.1.0
|
|||||||
pillow==10.2.0
|
pillow==10.2.0
|
||||||
python-dotenv~=1.0.1
|
python-dotenv~=1.0.1
|
||||||
sorl-thumbnail==12.10.0
|
sorl-thumbnail==12.10.0
|
||||||
|
psycopg2-binary==2.9.1
|
||||||
Loading…
x
Reference in New Issue
Block a user