Commit 139e2fb3 authored by Matthew Rodgers's avatar Matthew Rodgers Committed by David Haynes
Browse files

Updated Custom Date Validator Message

--'Date can't be before today' changed to 'Date must be after today'
parent cbf7a067
...@@ -80,7 +80,7 @@ class URLForm(forms.ModelForm): ...@@ -80,7 +80,7 @@ class URLForm(forms.ModelForm):
if value > if value >
return return
else: else:
raise ValidationError('Date can\'t be before today.') raise ValidationError('Date must be after today.')
# Add a custom expiration choice. # Add a custom expiration choice.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment