diff options
Diffstat (limited to 'archaeological_finds/models.py')
| -rw-r--r-- | archaeological_finds/models.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index c21c56a43..8505e81a0 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -17,6 +17,8 @@  # See the file COPYING for details. +import datetime +  from django.conf import settings  from django.contrib.gis.db import models  from django.core.urlresolvers import reverse @@ -296,6 +298,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):      index = models.IntegerField(u"Index", default=0)      checked = models.CharField(_(u"Check"), max_length=2, default='NC',                                 choices=CHECK_CHOICES) +    check_date = models.DateField(_(u"Check date"), +                                  default=datetime.date.today)      history = HistoricalRecords()      def __init__(self, *args, **kwargs): | 
