10 Commits (ed2e68d4d52e0ece192750ba43e62c2efde0f648)

Author SHA1 Message Date
Victor R. Santos ce70045dac
Fix Error `404 Not Found` for Static Files (#124)
After changing for FastAPI the server ignores STATIC_ROOT and STATIC_URL
3 years ago
Tom Hacohen f52facad1c Subscriptions: implement live subscriptions for collection items 4 years ago
Tom Hacohen 6ec03c3d34 Revert "Add a django middleware to cleanup db connections."
This ended up being useless because of the way startlette and fastapi do
thread pools. The middleware is called in one thread, the path in
another, and the dependency in yet another.

This reverts commit 473448246f.
4 years ago
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.
4 years ago
Tom Hacohen dbdff06e68 Move all the routers under their own dir. 4 years ago
Tom Hacohen f67730f42d Support passing custom middlewares. 4 years ago
Tom Hacohen a8b97e60d4 Docs: improve metadata. 4 years ago
Tom Hacohen 10ff303b75 Fix formatting. 4 years ago
Tom Hacohen c1f171bde0 Change how we create applications. 4 years ago
Tom Hacohen 0fa2f2da3b Make the fastapi application the main asgi one. 4 years ago