mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-23 22:49:50 +03:00
fixed partial assigning
This commit is contained in:
parent
ddcc5766e1
commit
7617b673e7
|
@ -106,7 +106,7 @@ class BaseSerializer(Field):
|
|||
self.opts = self._options_class(self.Meta)
|
||||
self.parent = None
|
||||
self.root = None
|
||||
self.partial = partial or self.opts.partial
|
||||
self.partial = partial if partial is not None else self.opts.partial
|
||||
|
||||
self.context = context or {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user