diff options
Diffstat (limited to 'apps/locations/models.py')
-rw-r--r-- | apps/locations/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/locations/models.py b/apps/locations/models.py index 57806a2..47c5d65 100644 --- a/apps/locations/models.py +++ b/apps/locations/models.py @@ -126,6 +126,7 @@ class State(models.Model): name = models.CharField(max_length=250, blank=True, null=True,) country = models.ForeignKey(Country) slug = models.SlugField() + code = models.CharField(max_length=2, null=True, blank=True) pub_date = models.DateTimeField('Date published',null=True) geometry = models.MultiPolygonField(srid=4326,null=True) objects = models.GeoManager() |