Movatterモバイル変換


[0]ホーム

URL:


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

Commit3586c8a

Browse files
Set view.format_kwarg in schema generator (#4315)
1 parent8ebf81b commit3586c8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎rest_framework/schemas.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def get_schema(self, request=None):
8484
method=link.action.upper()
8585
view=callback.cls()
8686
view.request=clone_request(request,method)
87+
view.format_kwarg=None
8788
try:
8889
view.check_permissions(view.request)
8990
exceptexceptions.APIException:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp