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

View File

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