News for hackers. Stuff that matters.
Re:Django 3.1 by Jonnax on Tuesday August 04, 2020 @05:16AM (#24048148)
Cool, they've implemented async views.

ASGI has kinda passed me by. For some small project's I use Gunicorn.

What's the setup for ASGI that's popular?

Re:Django 3.1 by iaml on Tuesday August 04, 2020 @05:52AM (#24048331)
They support Daphne/uvicorn https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/

I think in python world uvicorn is more popular choice, might be wrong tho

Re:Django 3.1 by laactech on Tuesday August 04, 2020 @08:28AM (#24049244)
I've been running uvicorn with gunicorn in production, and it's been solid. Django 3.0 enabled this with ASGI support. It'll still be a while before django is fully async capable, but these are steps in the right direction.
Re:Django 3.1 by neillyons on Tuesday August 04, 2020 @05:58AM (#24048372)
You can use Uvicorn to run ASGI apps. You can also use it together with Gunicorn https://www.uvicorn.org/#running-with-gunicorn.
Re:Django 3.1 by VWWHFSfQ on Tuesday August 04, 2020 @10:25AM (#24050285)
Gunicorn with the Uvicorn worker class is the recommended production solution
Re:Django 3.1 by simonw on Tuesday August 04, 2020 @10:22AM (#24050243)
I've been using Uvicorn for a couple of years on a whole bunch of projects and it's not caused me any trouble at all.