We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d951f7e commit c1c849cCopy full SHA for c1c849c
1 file changed
home/utils/rebate_checker.py
@@ -34,7 +34,7 @@ def is_not_duplicate(student, new_rebate_start, new_rebate_end):
34
< short_rebate.end_date
35
):
36
return False
37
- for long_rebate in LongRebate.objects.filteremail__iexact(email=student).all():
+ for long_rebate in LongRebate.objects.filter(email__iexact=student).all():
38
if (
39
long_rebate.end_date
40
> new_rebate_start
0 commit comments