You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
390 B
Python
20 lines
390 B
Python
4 years ago
|
import os
|
||
|
|
||
|
from django.core.asgi import get_asgi_application
|
||
|
|
||
4 years ago
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "etebase_server.settings")
|
||
4 years ago
|
django_application = get_asgi_application()
|
||
|
|
||
|
|
||
|
def create_application():
|
||
4 years ago
|
from etebase_fastapi.main import create_application
|
||
|
|
||
|
app = create_application()
|
||
4 years ago
|
|
||
|
app.mount("/", django_application)
|
||
|
|
||
|
return app
|
||
|
|
||
4 years ago
|
|
||
4 years ago
|
application = create_application()
|