summaryrefslogtreecommitdiff
path: root/apps/locations/models.py
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-05-06 22:46:22 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-05-06 22:46:22 +0000
commit940e343ee500a990a2be45578708d3f5d9875263 (patch)
tree4f57ac3a994434582047decfa439d6c50b8a7f68 /apps/locations/models.py
parent1b8c0ae77d1ffe6fe9af30e2c1646ea7cd2466c6 (diff)
revamped slideshow with jquery, maps and exif data
Diffstat (limited to 'apps/locations/models.py')
-rw-r--r--apps/locations/models.py1
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()