From a8f14609a111a70b692adf114940e3ea563d1080 Mon Sep 17 00:00:00 2001 From: Davide Date: Wed, 12 Jun 2024 17:43:05 +0200 Subject: [PATCH] Remove no more used deprecation message --- channels/routing.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/channels/routing.py b/channels/routing.py index d09d5ffe..f48c4d33 100644 --- a/channels/routing.py +++ b/channels/routing.py @@ -33,20 +33,6 @@ def get_default_application(): return value -DEPRECATION_MSG = """ -Using ProtocolTypeRouter without an explicit "http" key is deprecated. -Given that you have not passed the "http" you likely should use Django's -get_asgi_application(): - - from django.core.asgi import get_asgi_application - - application = ProtocolTypeRouter( - "http": get_asgi_application() - # Other protocols here. - ) -""" - - class ProtocolTypeRouter: """ Takes a mapping of protocol type names to other Application instances,