From 3b24afa7f2a8276ea8c13f2539dda96c27eb2745 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Fri, 11 Nov 2022 13:33:11 -0500 Subject: [PATCH] After channels upgrade the docs now say to import daphne instead of channels in the INSTALLED_APPS --- awx/settings/defaults.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index e365c2a48f..4d67ffc157 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -304,11 +304,13 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', + # daphne has to be installed before django.contrib.staticfiles for the app to startup + # According to channels 4.0 docs you install daphne instead of channels now + 'daphne', 'django.contrib.staticfiles', 'oauth2_provider', 'rest_framework', 'django_extensions', - 'channels', 'polymorphic', 'taggit', 'social_django',