Actions
Task #1275
closedrefactor TaskStatus serializer to inherit from ModelSerializer
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
The other mongoengine models have a serializer class that inherits from ModelSerializer here:
The model should know about the serializer, example:
https://github.com/pulp/pulp/blob/master/server/pulp/server/db/model/__init__.py
This convention needs to be implemented so that mongoengine document serialization can occur without knowing the document type.
Actions