Skip to content

Commit 085c7a7

Browse files
committed
udpate
1 parent b17fd61 commit 085c7a7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

dojo/forms.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3638,6 +3638,9 @@ def clean_expiration(self):
36383638
aware_expiration = timezone.make_aware(
36393639
datetime.combine(expiration, datetime.min.time()),
36403640
)
3641+
else:
3642+
msg = "An expiration for the survey must be supplied"
3643+
raise forms.ValidationError(msg)
36413644
return aware_expiration
36423645

36433646

0 commit comments

Comments
 (0)