1
0
mirror of https://github.com/etesync/server synced 2024-11-21 16:28:08 +00:00

fix: move etebase_fastapi module from toplevel to under etebase_server

This is in preparation for creating a python package, which should only
occupy the "etebase_server" name in the global module namespace.
This commit is contained in:
Xiretza 2022-05-08 14:54:25 +02:00
parent 13a137a128
commit 163f7766f1
26 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ django_application = get_asgi_application()
def create_application():
from etebase_fastapi.main import create_application
from etebase_server.fastapi.main import create_application
app = create_application()

View File

@ -43,7 +43,7 @@ def create_application(prefix="", middlewares=[]):
app.include_router(websocket_router, prefix=f"{BASE_PATH}/ws", tags=["websocket"])
if settings.DEBUG:
from etebase_fastapi.routers.test_reset_view import test_reset_view_router
from .routers.test_reset_view import test_reset_view_router
app.include_router(test_reset_view_router, prefix=f"{BASE_PATH}/test/authentication")