Changeset - 26ac00e8641f
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 6 months ago 2021-12-11 00:29:13
ben@sturm.com.au
assignment: Allow today's date.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/assignment/forms.py
Show inline comments
...
 
@@ -7,7 +7,7 @@ from .terms import TERMS
 

	
 

	
 
def validate_in_past(value):
 
    if value >= timezone.now().date():
 
    if value > timezone.now().date():
 
        raise ValidationError('Enter a date in the past')
 

	
 

	
0 comments (0 inline, 0 general)