diff --git a/app_helper/main.py b/app_helper/main.py index 09fe0b5..eaf0528 100644 --- a/app_helper/main.py +++ b/app_helper/main.py @@ -218,10 +218,9 @@ def static_analisys(application): def server(bind="127.0.0.1", port=8000, migrate_cmd=False, verbose=1): # pragma: no cover try: - from channels.log import setup_logger from channels.management.commands import runserver - logger = setup_logger("django.channels", 1) + logger = None use_channels = True except ImportError: from django.contrib.staticfiles.management.commands import runserver diff --git a/changes/157.bugfix b/changes/157.bugfix new file mode 100644 index 0000000..41001f5 --- /dev/null +++ b/changes/157.bugfix @@ -0,0 +1 @@ +Fix runserver autoreload with channels 2.4 diff --git a/tox.ini b/tox.ini index b9c9c76..d13f39e 100644 --- a/tox.ini +++ b/tox.ini @@ -158,13 +158,13 @@ use_parentheses = True [check-manifest] ignore = - .[a-z]* + .* *.ini *.toml *.txt *.yml app_helper/test_utils/AUTHORS - app_helper/test_utils/example1/locale* - changes* - docs* + app_helper/test_utils/example1/locale/** + changes/** + docs/** tasks.py