Добавлены поля needs_product_photo и needs_delivery_photo в модель Order с toggle switches в форме

This commit is contained in:
2025-12-25 12:26:09 +03:00
parent 2f8a421e64
commit 642b9551de
4 changed files with 60 additions and 1 deletions

View File

@@ -191,6 +191,8 @@ class OrderForm(forms.ModelForm):
'recipient',
'status',
'is_anonymous',
'needs_product_photo',
'needs_delivery_photo',
'special_instructions',
]
widgets = {