diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-03-31 16:43:21 +0100 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-03-31 16:43:21 +0100 |
commit | 40f413ba470fdc449879ed2917f631ca66f5979a (patch) | |
tree | 5006394ef03e1d1e400eca839b3db8b471a2e69a | |
parent | 9cd8734947766637435ee0527725af3215c98e01 (diff) | |
download | troggle-40f413ba470fdc449879ed2917f631ca66f5979a.tar.gz troggle-40f413ba470fdc449879ed2917f631ca66f5979a.tar.bz2 troggle-40f413ba470fdc449879ed2917f631ca66f5979a.zip |
Ooops shouldn't of commited the DateTime change, yet...
-rw-r--r-- | core/models.py | 2 |
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) |