Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bump minimum requirement [ci skip]
  • Loading branch information
lovelydinosaur committed Oct 20, 2016
commit 052a51355ad53d394aaefb66c31d5a67d82c7abb
2 changes: 1 addition & 1 deletion requirements/requirements-optionals.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion rest_framework/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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. "
Expand Down