Add when to the form

This commit is contained in:
tcely 2025-05-08 10:06:04 -04:00 committed by GitHub
parent 4f68552713
commit 0e29a5bdbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,10 @@ class ResetTasksForm(forms.Form):
class ScheduleTaskForm(forms.Form): class ScheduleTaskForm(forms.Form):
pass when = forms.DateTimeField(
label=_('When the task should run'),
required=True,
)
class ConfirmDeleteMediaServerForm(forms.Form): class ConfirmDeleteMediaServerForm(forms.Form):