From 7f87d91f366e2d1776576741d39e70b4846200dc Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Sun, 9 May 2010 20:15:22 +0000 Subject: updated parks model to include datefield of created date also change visited to DateField instead of DatetimeField --- apps/projects/models/natparks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/projects/models/natparks.py') 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) -- cgit v1.2.3-70-g09d2