pytoolbox.rest_framework.serializers.mixins module¶
Mix-ins for building your own Django REST Framework powered API serializers.
-
class
pytoolbox.rest_framework.serializers.mixins.
FromPrivateKeyMixin
[source]¶ Bases:
object
Allow to provide the PK of the model to retrieve it instead of creating a new instance with fields from data.
-
default_error_messages
¶
-