mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-22 19:54:50 +03:00
Remove useless if
This commit is contained in:
parent
998025afd3
commit
f15196a11d
|
|
@ -1106,7 +1106,6 @@ class ModelSerializer(Serializer):
|
|||
source_info = info
|
||||
source_model = model
|
||||
|
||||
if len(source_attrs) > 1:
|
||||
attr_info = info
|
||||
attr_model = model
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user