From 9dcc51f2211385239b0272bdbf2466637c874f35 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 30 May 2021 10:34:01 +0300 Subject: Check-in fixes and improvements --- servo/models/customer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'servo/models/customer.py') diff --git a/servo/models/customer.py b/servo/models/customer.py index 9d81371..bb34892 100644 --- a/servo/models/customer.py +++ b/servo/models/customer.py @@ -93,9 +93,9 @@ class Customer(MPTTModel): country = models.CharField( blank=True, max_length=2, + choices=COUNTRY_CHOICES, verbose_name=_('Country'), - default=defaults.country, - choices=COUNTRY_CHOICES + default=settings.INSTALL_COUNTRY.upper(), ) photo = models.ImageField( null=True, -- cgit v1.2.3