mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 21:40:13 +03:00
Bump minimum requirement [ci skip]
This commit is contained in:
parent
53421bdc92
commit
052a51355a
|
@ -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
|
||||
|
|
|
@ -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. "
|
||||
|
|
Loading…
Reference in New Issue
Block a user