From d6cebf66a2e313abe524df040ebe91b2e2fee66d Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Thu, 6 May 2021 10:57:11 +0200 Subject: [PATCH] DjangoFilterBackend moved to django_filters --- orchestra/conf/project_template/project_name/settings.py | 2 +- orchestra/conf/ribaguifi_template/project_name/settings.py | 2 +- requirements.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/orchestra/conf/project_template/project_name/settings.py b/orchestra/conf/project_template/project_name/settings.py index 571f8762..209d91a4 100644 --- a/orchestra/conf/project_template/project_name/settings.py +++ b/orchestra/conf/project_template/project_name/settings.py @@ -228,7 +228,7 @@ REST_FRAMEWORK = { 'rest_framework.authentication.TokenAuthentication', ), 'DEFAULT_FILTER_BACKENDS': ( - ('rest_framework.filters.DjangoFilterBackend',) + ('django_filters.rest_framework.DjangoFilterBackend',) ), } diff --git a/orchestra/conf/ribaguifi_template/project_name/settings.py b/orchestra/conf/ribaguifi_template/project_name/settings.py index ee1a9512..2fa397a5 100644 --- a/orchestra/conf/ribaguifi_template/project_name/settings.py +++ b/orchestra/conf/ribaguifi_template/project_name/settings.py @@ -228,7 +228,7 @@ REST_FRAMEWORK = { 'rest_framework.authentication.TokenAuthentication', ), 'DEFAULT_FILTER_BACKENDS': ( - ('rest_framework.filters.DjangoFilterBackend',) + ('django_filters.rest_framework.DjangoFilterBackend',) ), } diff --git a/requirements.txt b/requirements.txt index 1a2827ab..4a828a28 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ Django==2.0 django-fluent-dashboard==1.0.1 django-admin-tools==0.9.1 django-extensions==2.1.1 -django-celery==3.3.1 +django-celery==3.2.1 celery==3.1.23 kombu==3.0.35 billiard==3.3.0.23 @@ -10,7 +10,7 @@ Markdown==2.4 djangorestframework==3.9.3 ecdsa==0.11 Pygments==1.6 -django-filter==0.15.2 +django-filter==1.1 jsonfield==0.9.22 python-dateutil==2.2 https://github.com/glic3rinu/passlib/archive/master.zip