Add ability to edit checkins, more validation

This commit is contained in:
2023-05-15 00:36:57 +01:00
parent fc8bb2dc4b
commit 97dac51a52
9 changed files with 122 additions and 57 deletions

View File

@@ -232,3 +232,10 @@ class EventCheckInForm(forms.ModelForm):
class Meta:
model = models.EventCheckIn
fields = '__all__'
exclude = ['end_time']
class EditCheckInForm(forms.ModelForm):
class Meta:
model = models.EventCheckIn
fields = '__all__'