Channels 2.0, How can I configure the channels 2.0 to use with the default django's views

18 views
Skip to first unread message

Franklin Sarmiento

unread,
Jun 21, 2018, 7:47:09 PM6/21/18
to Django users
Hi everyone!,

I'm new with the channels topic, I'm learing the version 2.0, I have a doubt, How can I configure the channels 2.0 to use with the default django's views

Thanks a lot

Andrew Godwin

unread,
Jun 24, 2018, 7:19:31 PM6/24/18
to django...@googlegroups.com
I'm not quite sure what you mean - Channels will still serve Django views as well unless you override HTTP serving as well as WebSocket, and even then, you can follow the URLRouter docs to keep it working fine: http://channels.readthedocs.io/en/latest/topics/routing.html#urlrouter

Andrew

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/afd5ac18-7f8b-4973-a3d8-a5df2a382b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages