chibisov / drf-extensions

DRF-extensions is a collection of custom extensions for Django REST Framework
http://chibisov.github.io/drf-extensions/docs
MIT License
1.47k stars 208 forks source link

PartialUpdateSerializerMixin `.save_object()` that is no longer compatible with REST framework 3. #66

Closed davidmir closed 9 years ago

davidmir commented 9 years ago

Hi,

I'm getting this error using PartialUpdateSerializerMixin with DRF 3.0:

AssertionError: Serializer tasks.serializers.task.TaskSerializer has old-style version 2 .save_object() that is no longer compatible with REST framework 3. Use the new-style .create() and .update() methods instead.

Is this a bug?

Thanks in advance

chibisov commented 9 years ago

It's a bug, related to #39

I'm working on it. Hope will fix it this week.

chibisov commented 9 years ago

@davidmir, I've pushed fix to master branch. It would be cool if you tried it before I released new version.