Skip to content

Commit

Permalink
Removed outdated deprecation message (#2103)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevdog authored Jun 13, 2024
1 parent 42deaca commit 1d12e4c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions channels/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1d12e4c

Please sign in to comment.