Can Django channel execute multiple consumers run in parallel per request to perform backend calculation

2023-09-06 Thread GP
Hi, Want to know Django channel capability to perform back-end complex calculation by running multiple consumers for one request. I am about to build one back-end calculation system under which for one client request there will be 1 job request and for that 1 job request can have upto 1k cand

pytest, asgiref, Selenium and database access? How to make them work?

2023-09-06 Thread Alfons Eberle
Hey, has anyone gotten pytest to work with django-channels (or asgiref + Daphne) and Selenium in general when database access is required? My fixtures for users and other models import just fine, but my browser and Daphne process seem to be unaware of the test database and seem unable to create