catch unknown scotsman error

This commit is contained in:
Philip Sargent
2021-04-20 22:58:41 +01:00
parent 3b0c6ef2ea
commit b4ba3c40eb
8 changed files with 30 additions and 39 deletions

View File

@@ -70,6 +70,7 @@ class DataIssue(TroggleModel):
class Expedition(TroggleModel):
year = models.CharField(max_length=20, unique=True)
name = models.CharField(max_length=100)
logbookfile = models.CharField(max_length=100, blank=True, null=True)
def __str__(self):
return self.year