-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BaseCSVField doesn't raise "required" error #869
Comments
Should be fixed by #854 |
Yes, it fixed. Thank you |
No, i was wrong. BaseCSVField still does not raise required exception when date is not specified when value is None (can be specified as None or not specified) must call clean value of Base class
or we have not required error I mean work with this PR https://github.com/carltongibson/django-filter/pull/854/files
I want to create a DateRangeFilter for random dates (example: /?date__range=[2018-01-01, 2018-02-02] ) I do
And have no raise reuired exception when /?date__range= or nothing params at all May be i do something wrong. |
I create the filter with required DateField.
But on validation stage BaseCSVField doesn't raise the required error, cause value is None and it just returns None, without cleaning the base class
The text was updated successfully, but these errors were encountered: