diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-11-21 16:52:10 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-11-21 16:52:10 +0000 |
commit | 995df16beca48aa465ea1eed522a2ba6ba971ed2 (patch) | |
tree | 8a4f2483e3a5317f0db9f1c0d44a4971850747f4 | |
parent | 259f85742aa0ffabe300329ca0e671ecaa80ef79 (diff) | |
download | troggle-995df16beca48aa465ea1eed522a2ba6ba971ed2.tar.gz troggle-995df16beca48aa465ea1eed522a2ba6ba971ed2.tar.bz2 troggle-995df16beca48aa465ea1eed522a2ba6ba971ed2.zip |
bugfix length declaration
-rw-r--r-- | core/models/caves.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |