Skip to content

Commit

Permalink
Merge pull request #850 from readthedocs/default-json
Browse files Browse the repository at this point in the history
Default DRF to JSON
  • Loading branch information
ericholscher committed Mar 22, 2024
2 parents 6a11e95 + 5ee5adb commit ce2cf7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@
"rest_framework.authentication.TokenAuthentication",
"rest_framework.authentication.SessionAuthentication",
),
"DEFAULT_RENDERER_CLASSES": ("rest_framework.renderers.JSONRenderer",),
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination",
"DEFAULT_PARSER_CLASSES": ("rest_framework.parsers.JSONParser",),
"DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.IsAuthenticated",),
Expand Down

0 comments on commit ce2cf7e

Please sign in to comment.