Bump minimum requirement [ci skip]

This commit is contained in:
Tom Christie 2016-10-20 10:46:22 +01:00
parent 53421bdc92
commit 052a51355a
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Optional packages which may be used with REST framework.
markdown==2.6.4
django-guardian==1.4.6
django-filter==0.15.0
django-filter==0.15.3
coreapi==2.0.8

View File

@ -54,7 +54,7 @@ class DjangoFilterBackend(BaseFilterBackend):
"""
def __new__(cls, *args, **kwargs):
assert django_filters, 'Using DjangoFilterBackend, but django-filter is not installed'
assert django_filters.VERSION >= (0, 15, 0), 'django-filter 0.15.0 and above is required'
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. "