From eb7cc9847a5151ae62e926cd52c80faae8ff4ba4 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Mon, 14 Jul 2025 10:26:17 +0300 Subject: [PATCH] Features: 1) Add default `Address.objects.none()` placeholders in `apply_addresses` method; 2) Validate address application only when billing or shipping address exists; Fixes: 1) Correct logic for optional address validation to avoid runtime errors; Extra: 1) Change documentation settings format from "Google" to "Plain". --- .idea/evibes.iml | 4 ++-- core/models.py | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.idea/evibes.iml b/.idea/evibes.iml index 7db85b5f..7f8677ff 100644 --- a/.idea/evibes.iml +++ b/.idea/evibes.iml @@ -1,8 +1,8 @@ -