django-rest-framework
django-rest-framework copied to clipboard
Properly handle OverflowError in DurationField deserialization
Related: https://github.com/django/django/pull/8870/files
Note: Before submitting this pull request, please review our contributing guidelines.
Description
Properly handle OverflowError in DurationField deserialization. Solution is the same as for the corresponding Django form field.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think this is still current.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think this is still current.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think this is still current.
The code looks very similar to me. Which according amendments do you mean? (Would you like to change the logic, or the error message? (Number of days out of range, must be between {min_days} and {max_days}.
)
btw, having another look, it seems your code is quite right. can you please pull from master so that the CI triggers with latest changes?
done
thank you for your patience