[svn] Added date field

Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8053 by julian @ 11/2/2008 11:15 PM
This commit is contained in:
substantialnoninfringinguser 2009-05-13 05:17:06 +01:00
parent f336d146f3
commit 64f0b54275

View File

@ -4,6 +4,7 @@ class SurvexBlock(models.Model):
name = models.CharField(max_length=100, blank=True, null=True) name = models.CharField(max_length=100, blank=True, null=True)
parent = models.ForeignKey('SurvexBlock', blank=True, null=True) parent = models.ForeignKey('SurvexBlock', blank=True, null=True)
text = models.TextField() text = models.TextField()
date = models.DateField(blank=True, null=True)
notes_person = models.ManyToManyField('PersonTrip', related_name="notes", blank=True, null=True) notes_person = models.ManyToManyField('PersonTrip', related_name="notes", blank=True, null=True)
pics_person = models.ManyToManyField('PersonTrip', related_name="pics", blank=True, null=True) pics_person = models.ManyToManyField('PersonTrip', related_name="pics", blank=True, null=True)
tape_person = models.ManyToManyField('PersonTrip', related_name="tape", blank=True, null=True) tape_person = models.ManyToManyField('PersonTrip', related_name="tape", blank=True, null=True)