From e6c0cfc279f420f82cc5a5350b78a50ed9b86d1f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 9 Mar 2017 09:37:54 +0000 Subject: [PATCH] Bump deprecations --- rest_framework/filters.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rest_framework/filters.py b/rest_framework/filters.py index e2698fa0a..df366fce6 100644 --- a/rest_framework/filters.py +++ b/rest_framework/filters.py @@ -45,9 +45,9 @@ if django_filters: class FilterSet(DFFilterSet): def __init__(self, *args, **kwargs): warnings.warn( - "The built in 'rest_framework.filters.FilterSet' is pending deprecation. " + "The built in 'rest_framework.filters.FilterSet' is deprecated. " "You should use 'django_filters.rest_framework.FilterSet' instead.", - PendingDeprecationWarning + DeprecationWarning ) return super(FilterSet, self).__init__(*args, **kwargs) else: @@ -64,9 +64,9 @@ class DjangoFilterBackend(BaseFilterBackend): assert django_filters.VERSION >= (0, 15, 3), 'django-filter 0.15.3 and above is required' warnings.warn( - "The built in 'rest_framework.filters.DjangoFilterBackend' is pending deprecation. " + "The built in 'rest_framework.filters.DjangoFilterBackend' is deprecated. " "You should use 'django_filters.rest_framework.DjangoFilterBackend' instead.", - PendingDeprecationWarning + DeprecationWarning ) from django_filters.rest_framework import DjangoFilterBackend