From 3a4da142dc7db15d6e2374ddbd7605a95a6d583f Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sat, 4 Jun 2022 18:05:13 +0300 Subject: [PATCH] Fix import of sendfile backend due to python package changes. Broke in c7d1de31a1347c0085f2802b01bad39f84000504. --- etebase_server/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etebase_server/settings.py b/etebase_server/settings.py index 185a199..98a6dcf 100644 --- a/etebase_server/settings.py +++ b/etebase_server/settings.py @@ -171,7 +171,7 @@ if any(os.path.isfile(x) for x in config_locations): ETEBASE_CREATE_USER_FUNC = "etebase_server.django.utils.create_user_blocked" # Efficient file streaming (for large files) -SENDFILE_BACKEND = "etebase_fastapi.sendfile.backends.simple" +SENDFILE_BACKEND = "etebase_server.fastapi.sendfile.backends.simple" SENDFILE_ROOT = MEDIA_ROOT # Make an `etebase_server_settings` module available to override settings.