diff --git a/core/models/geo.py b/core/models/geo.py index 2bb6d8b..69e773f 100644 --- a/core/models/geo.py +++ b/core/models/geo.py @@ -4,12 +4,12 @@ from django_countries.fields import CountryField class Location(models.Model): - address = CharField(max_length=256) - address2 = CharField(max_length=256, null=True, blank=True) - city = CharField(max_length=128) - zipcode = CharField(max_length=16) - state = CharField(max_length=128) + address = models.CharField(max_length=256) + address2 = models.CharField(max_length=256, null=True, blank=True) + city = models.CharField(max_length=128) + zipcode = models.CharField(max_length=16) + state = models.CharField(max_length=128) country = CountryField() - floor = CharField(max_length=16, null=True, blank=True) - door = CharField(max_length=16, null=True, blank=True) \ No newline at end of file + floor = models.CharField(max_length=16, null=True, blank=True) + door = models.CharField(max_length=16, null=True, blank=True) \ No newline at end of file