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

Commit09f62e1

Browse files
committed
Possible fix
1 parent2b199f7 commit09f62e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎rest_framework/serializers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ def get_fields(self):
10101010
continue
10111011

10121012
extra_field_kwargs=extra_kwargs.get(field_name, {})
1013-
source=extra_field_kwargs.get('source')orfield_name
1013+
source=extra_field_kwargs.get('source','*')!='*'orfield_name
10141014

10151015
# Determine the serializer field class and keyword arguments.
10161016
field_class,field_kwargs=self.build_field(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp