Re: Serving static files with Channels

2017-05-13 Thread Alexander Prokhorov
a patch if you want, > but as DEBUG isn't turned on for production installs, it'll be considered a > little lower priority. > > Andrew > > On Fri, May 12, 2017 at 1:17 PM, Alexander Prokhorov > wrote: > >> Yes, that is obvious, forgot to mention this. I w

Re: Serving static files with Channels

2017-05-12 Thread Alexander Prokhorov
. пятница, 12 мая 2017 г., 22:06:17 UTC+3 пользователь Andrew Godwin написал: > > Have you tried removing the staticfiles app from INSTALLED_APPS? I believe > that will disable it even with runworker. > > Andrew > > On Fri, May 12, 2017 at 11:14 AM, Alexander Prokhorov >

Serving static files with Channels

2017-05-12 Thread Alexander Prokhorov
Dear Colleagues, in particular Andrew ;) I have a problem with making Channels serve static files. The issue concerns running `./manage.py runworker` which (according to the Getting Started with Channels guide) serves static files if Django run in DEBUG mode. Actually, I would like to disable

How Channels and Daphne handle huge HTTP requests?

2017-03-19 Thread Alexander Prokhorov
Dear Colleagues, I tried to understand how Channels and Daphne work with single-reader channels in case when there is huge HTTP request. To my surprise I have not found any code in Daphne which works with `body_channel`. The only occurrence of `body_channel` I found is in the test `assert_vali