After channels upgrade the docs now say to import daphne instead of channels in the INSTALLED_APPS

This commit is contained in:
John Westcott IV 2022-11-11 13:33:11 -05:00
parent 2b3f3e2043
commit 3b24afa7f2

View File

@ -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',