Skip to content

Commit

Permalink
default_app_config deprecated in Django 3.2 (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithdc1 committed Oct 26, 2020
1 parent 612721a commit 351f206
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion channels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import django

__version__ = "2.4.0"

default_app_config = "channels.apps.ChannelsConfig"
if django.VERSION < (3, 2):
default_app_config = "channels.apps.ChannelsConfig"
DEFAULT_CHANNEL_LAYER = "default"

0 comments on commit 351f206

Please sign in to comment.