add city and province fields
This commit is contained in:
@@ -110,6 +110,7 @@ class UserAddressModel(models.Model):
|
||||
address = models.TextField()
|
||||
postal_code = models.CharField(max_length=10)
|
||||
phone = models.CharField(max_length=11)
|
||||
|
||||
city = models.CharField(max_length=30)
|
||||
province = models.CharField(max_length=30)
|
||||
def __str__(self):
|
||||
return f"{self.user.phone}, {self.name}"
|
||||
Reference in New Issue
Block a user