Register check in model with the admin site

This commit is contained in:
2023-05-16 14:45:54 +01:00
parent e7dd8f4cf9
commit 06137ab180
2 changed files with 4 additions and 0 deletions

View File

@@ -941,3 +941,6 @@ class EventCheckIn(models.Model):
def get_absolute_url(self):
return reverse('event_detail', kwargs={'pk': self.event.pk})
def __str__(self):
return f"{self.person} on {self.event}"