4 ms·
would this work with django?
by bedros 10y ago
would this work with django?
- JoelBennett 10y agoI wouldn't mind knowing this as well!
- 1st1 10y agoasyncpg was designed for asyncio (and async/await). So it can be used in any asyncio, Tornado (and soon Twisted) program. Django doesn't support asyncio, it's built for blocking IO model. So, unfortunately, it's not possible to use asyncpg with it.
- machbio 10y agoI know its not related to the Asyncio - for Django; you should follow this - http://channels.readthedocs.io/en/latest/index.html http://channels.readthedocs.io/en/latest/index.html