From 995df16beca48aa465ea1eed522a2ba6ba971ed2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 21 Nov 2022 16:52:10 +0000 Subject: [PATCH] bugfix length declaration --- core/models/caves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/models/caves.py b/core/models/caves.py index a08b1f8..5df1a3b 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -465,7 +465,7 @@ class LogbookEntry(TroggleModel): 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,on_delete=models.SET_NULL)#MJG wants to KILL THIS (redundant information) expedition = models.ForeignKey(Expedition,blank=True, null=True,on_delete=models.SET_NULL) # yes this is double- - title = models.CharField(max_length=settings.MAX_LOGBOOK_ENTRY_TITLE_LENGTH) + title = models.CharField(max_length=200) cave_slug = models.SlugField(max_length=50, blank=True, null=True) place = models.CharField(max_length=100,blank=True, null=True,help_text="Only use this if you haven't chosen a cave") text = models.TextField()