Commit Graph

7 Commits

Author SHA1 Message Date
Tom Hacohen
473448246f Add a django middleware to cleanup db connections.
This severely impacts performance, though without it we are getting
django.db.utils.InterfaceError once connections in the pool go stale.
2020-12-30 09:26:33 +02:00
Tom Hacohen
dbdff06e68 Move all the routers under their own dir. 2020-12-29 15:42:41 +02:00
Tom Hacohen
f67730f42d Support passing custom middlewares. 2020-12-29 10:12:36 +02:00
Tom Hacohen
a8b97e60d4 Docs: improve metadata. 2020-12-29 09:46:20 +02:00
Tom Hacohen
10ff303b75 Fix formatting. 2020-12-28 17:09:20 +02:00
Tom Hacohen
c1f171bde0 Change how we create applications. 2020-12-28 16:42:39 +02:00
Tom Hacohen
0fa2f2da3b Make the fastapi application the main asgi one. 2020-12-28 16:42:39 +02:00