From 89c65d4b82c351f463c2697616df91495281d8a2 Mon Sep 17 00:00:00 2001 From: Vainl Date: Wed, 27 Mar 2024 01:38:37 +0800 Subject: [PATCH] Adjusted sample code in docs. (#1651) --- docs/guide/rest_framework.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/rest_framework.txt b/docs/guide/rest_framework.txt index 477d8cb9..1901bc6d 100644 --- a/docs/guide/rest_framework.txt +++ b/docs/guide/rest_framework.txt @@ -39,7 +39,7 @@ If you want to use the django-filter backend by default, add it to the ``DEFAULT # settings.py INSTALLED_APPS = [ - ... + # ... 'rest_framework', 'django_filters', ] @@ -47,7 +47,7 @@ If you want to use the django-filter backend by default, add it to the ``DEFAULT REST_FRAMEWORK = { 'DEFAULT_FILTER_BACKENDS': ( 'django_filters.rest_framework.DjangoFilterBackend', - ... + # ... ), }