Fix order logic. Currently you can change contact data ant it's working correctly
This commit is contained in:
@@ -31,3 +31,7 @@ class UnregisteredUserOrderCreationForm(BaseOrderCreationForm):
|
||||
RegexValidator(regex="^\\+7[0-9]{10}$"),
|
||||
])
|
||||
email = forms.EmailField(required=True)
|
||||
|
||||
class Meta:
|
||||
model = Order
|
||||
fields = BaseOrderCreationForm.Meta.fields + ['phone', 'email']
|
||||
|
||||
Reference in New Issue
Block a user