summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-03-31 16:43:21 +0100
committerSam Wenham <sam@wenhams.co.uk>2019-03-31 16:43:21 +0100
commita588221524cd0427768c750b58c3d992eb236c42 (patch)
tree5006394ef03e1d1e400eca839b3db8b471a2e69a /core
parent9df91b221b4992d29b90caa30ae5a417d5b750d0 (diff)
downloadtroggle-a588221524cd0427768c750b58c3d992eb236c42.tar.gz
troggle-a588221524cd0427768c750b58c3d992eb236c42.tar.bz2
troggle-a588221524cd0427768c750b58c3d992eb236c42.zip
Ooops shouldn't of commited the DateTime change, yet...
Diffstat (limited to 'core')
-rw-r--r--core/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models.py b/core/models.py
index 3d9041c..d978eaa 100644
--- a/core/models.py
+++ b/core/models.py
@@ -251,7 +251,7 @@ class LogbookEntry(TroggleModel):
("html", "Html style logbook")
)
- date = models.DateTimeField()#MJG wants to turn this into a datetime such that multiple Logbook entries on the same day can be ordered.ld()
+ date = models.DateField()#MJG wants to turn this into a datetime such that multiple Logbook entries on the same day can be ordered.ld()
expeditionday = models.ForeignKey("ExpeditionDay", null=True)#MJG wants to KILL THIS (redundant information)
expedition = models.ForeignKey(Expedition,blank=True,null=True) # yes this is double-
title = models.CharField(max_length=settings.MAX_LOGBOOK_ENTRY_TITLE_LENGTH)