Skip to content

Commit

Permalink
Update rest_framework.txt
Browse files Browse the repository at this point in the history
So let's add a comment and keep the ellipsis there.
  • Loading branch information
vainl authored Mar 26, 2024
1 parent d4c42f4 commit 618c61d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/rest_framework.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +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 618c61d

Please sign in to comment.