Change how we create applications.

This commit is contained in:
Tom Hacohen
2020-12-28 14:47:41 +02:00
parent 65cd722616
commit c1f171bde0
2 changed files with 25 additions and 21 deletions

View File

@@ -7,7 +7,9 @@ django_application = get_asgi_application()
def create_application():
from etebase_fastapi.main import app
from etebase_fastapi.main import create_application
app = create_application()
app.mount("/", django_application)