How can I use a Sync HTTP Consumer in Django Channels?

2021-02-08 Thread Tal
I'm using Channels v2. I want to integrate long-polling into my project. The only consumer I see in the documentation for http long polling is the AsyncHttpConsumer . The code I need to run in my handle function

Re: How to integrate @etag(etag_func) decorator for a view

2021-02-08 Thread Kelechi Divine
*Cristian this was helpful and am really grateful!* *I'm also a python programmer and I'd like you to put me through Django. * On Mon, 8 Feb 2021 at 14:56, Gabor Cristian wrote: > Hello, > > I am currently developing a system to block users from updating a form > data in case another user is als

How to integrate @etag(etag_func) decorator for a view

2021-02-08 Thread Gabor Cristian
Hello, I am currently developing a system to block users from updating a form data in case another user is also updating the same data at the same time. My application uses REST API's with DRF and I choose to use django-rest-framework-condition