-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
DateTimeField
does not handle empty values correctly
#3726
Labels
Milestone
Comments
I made the needed changes and created a pull request. Includes outputs for tests. |
All checks have passed, ready for review and merge. |
DateTimeField
does not handle empty values correctly
This was referenced Mar 9, 2017
django 2.2.*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference:
#2869
#2687
This issue was fixed by 2869 for DateField and need the same fix for DateTimeField.
If I have a serializer with
start = serializers.DateTimeField(required=False)
then I should not have to supply a value but if I dont supply a value I get the below error.
The text was updated successfully, but these errors were encountered: