Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make first name and last name required
Marcin Gębalaa396aa8492d2
diff --git a/saleor/userprofile/models.py b/saleor/userprofile/models.pyindex 8a41dac51f..87323ebefe 100644--- a/saleor/userprofile/models.py+++ b/saleor/userprofile/models.py@@ -82,10 +82,10 @@ class Address(models.Model):first_name = models.CharField(pgettext_lazy('Address field', 'first name'),- max_length=256, blank=True)+ max_length=256)last_name = models.CharField(pgettext_lazy('Address field', 'last name'),- max_length=256, blank=True)+ max_length=256)company_name = models.CharField(pgettext_lazy('Address field', 'company name'),max_length=256, blank=True)