Update call to deprecated to use only major and minor (micro removed).

This commit is contained in:
Xavier Ordoquy 2015-11-10 12:36:16 +01:00
parent 852b6a97b8
commit c79f4f5b3b

View File

@ -28,7 +28,7 @@ Deprecations are marked using `rest_framework.compat.deprecated`, which accepts
from rest_framework.compat import deprecated 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. 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.