Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 97b6dd3

Browse files
Use forms in the browsable API
1 parent f924ac8 commit 97b6dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎example/settings/dev.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
# If you're performance testing, you will want to use the browseable API
8484
# without forms, as the forms can generate their own queries.
8585
# If performance testing, enable:
86-
'example.utils.BrowsableAPIRendererWithoutForms',
86+
# 'example.utils.BrowsableAPIRendererWithoutForms',
8787
# Otherwise, to play around with the browseable API, enable:
88-
# 'rest_framework.renderers.BrowsableAPIRenderer',
88+
'rest_framework.renderers.BrowsableAPIRenderer',
8989
),
9090
'DEFAULT_METADATA_CLASS': 'rest_framework_json_api.metadata.JSONAPIMetadata',
9191
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /