mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 22:04:48 +03:00
Update call to deprecated to use only major and minor (micro removed).
This commit is contained in:
parent
852b6a97b8
commit
c79f4f5b3b
|
@ -28,7 +28,7 @@ Deprecations are marked using `rest_framework.compat.deprecated`, which accepts
|
|||
|
||||
from rest_framework.compat import deprecated
|
||||
...
|
||||
deprecated((3,1,0), "Using X for Y is deprecated. Prefer Z")
|
||||
deprecated((3, 1), "Using X for Y is deprecated. Prefer Z")
|
||||
|
||||
Note that in line with Django's policy, any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user