diff --git a/stratoflights/settings.py b/stratoflights/settings.py index 7e04e74..79ade80 100644 --- a/stratoflights/settings.py +++ b/stratoflights/settings.py @@ -45,6 +45,7 @@ MEDIA_ROOT = os.getenv('MEDIA_ROOT', os.path.join(BASE_DIR, 'media')) # Куд # Application definition INSTALLED_APPS = [ + 'daphne', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -197,8 +198,8 @@ CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', 'http://localhost:5173, CHANNEL_LAYERS = { "default": { "BACKEND": "channels.layers.InMemoryChannelLayer", - "CONFIG": { - "hosts": [("redis", 6379)], - }, + # "CONFIG": { + # "hosts": [("redis", 6379)], + # }, }, } \ No newline at end of file