From 86dc5de0b94a086ab2891a8878750992f8945bcc Mon Sep 17 00:00:00 2001 From: Andrey Rusakov Date: Mon, 2 Dec 2024 16:47:41 +0100 Subject: [PATCH] Add loading area limit from the env file --- default_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default_settings.py b/default_settings.py index 9d0c0db..8d10aee 100644 --- a/default_settings.py +++ b/default_settings.py @@ -377,4 +377,4 @@ def check_oidc() -> bool: } # Limit maximum allowed area of an order, in square meters. 0 for unlimited -MAX_ORDER_AREA=0 \ No newline at end of file +MAX_ORDER_AREA=int(os.environ.get("MAX_ORDER_AREA", "0"))