-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Update #3404 - adds deprecated
function to track deprecations
#3478
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
Conversation
Conflicts: rest_framework/pagination.py tests/test_atomic_requests.py tests/test_permissions.py
👍🏽 |
@carltongibson sorry for the delay |
No worries. 😃 |
), | ||
DeprecationWarning, | ||
) | ||
deprecated((3, 0, 0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version against this looks wrong, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like, will fix that one and the one under.
PR updated |
Do we really need some coverage or can we merge this ? |
LGTM although not sure we might want to take care of #3478 (comment) first. |
@jpadilla anything in mind on top of https://github.com/tomchristie/django-rest-framework/pull/3478/files#diff-6c2b4517644b3a66478c9c8b63043359R31 ? |
Are there currently any places where this should be used as part of the PR? |
@tomchristie Not sure it's a good thing to make it part of this PR. |
@xordoquy Possibly, but be helpful to enumerate 'em either way. |
On revisiting this, I'm not convinced we need this wrapper. Managing deprecations hasn't been a pain point for us. |
Taking over #3404. Fixes #3372