diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-05-09 20:15:22 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-05-09 20:15:22 +0000 |
commit | 7f87d91f366e2d1776576741d39e70b4846200dc (patch) | |
tree | b9e9b8a574d135474f97ff0f8d175652f087ecc6 /apps/projects/models/natparks.py | |
parent | 41b8027eb1efc4e2543d0dcb0b2660fcbed4a951 (diff) |
updated parks model to include datefield of created date also change visited to DateField instead of DatetimeField
Diffstat (limited to 'apps/projects/models/natparks.py')
-rw-r--r-- | apps/projects/models/natparks.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/projects/models/natparks.py b/apps/projects/models/natparks.py index c78052c..fa0c84b 100644 --- a/apps/projects/models/natparks.py +++ b/apps/projects/models/natparks.py @@ -24,8 +24,9 @@ class NationalParks(models.Model): url = models.CharField(max_length=250, null=True) code= models.CharField(max_length=16) unit_name= models.CharField(max_length=254) - date_visited_begin = models.DateTimeField('Date Visited',null=True) - date_visited_end = models.DateTimeField('Date Visited',null=True) + date_visited_begin = models.DateField('Date Visited',null=True) + date_visited_end = models.DateField('Date Visited',null=True) + date_park_created = models.DateField('Date Park Created',null=True) zoom= models.IntegerField(null=True) mpoly = models.MultiPolygonField(null=True) visited = models.BooleanField(default=False) |