From 13e3c98facdebb4bec75c4f5b1a283b70b03a76c Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Tue, 22 Jun 2021 17:55:18 +0200 Subject: [PATCH] actually implemented setting --- cookbook/views/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbook/views/views.py b/cookbook/views/views.py index 68f52d20a..fc68ab8f5 100644 --- a/cookbook/views/views.py +++ b/cookbook/views/views.py @@ -118,6 +118,7 @@ def no_space(request): max_file_storage_mb=settings.SPACE_DEFAULT_MAX_FILES, max_recipes=settings.SPACE_DEFAULT_MAX_RECIPES, max_users=settings.SPACE_DEFAULT_MAX_USERS, + allow_sharing=settings.SPACE_DEFAULT_ALLOW_SHARING, ) request.user.userpreference.space = created_space request.user.userpreference.save()