Skip to content

Commit

Permalink
Adjusted sample code in docs. (#1651)
Browse files Browse the repository at this point in the history
  • Loading branch information
vainl authored Mar 26, 2024
1 parent 690a906 commit 89c65d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/rest_framework.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ If you want to use the django-filter backend by default, add it to the ``DEFAULT

# settings.py
INSTALLED_APPS = [
...
# ...
'rest_framework',
'django_filters',
]

REST_FRAMEWORK = {
'DEFAULT_FILTER_BACKENDS': (
'django_filters.rest_framework.DjangoFilterBackend',
...
# ...
),
}

Expand Down

0 comments on commit 89c65d4

Please sign in to comment.