From 4ffe0a2c6304f1073a61e87556614ff90476c35b Mon Sep 17 00:00:00 2001 From: Maxime Bombar Date: Sat, 6 Oct 2018 21:33:16 +0200 Subject: [PATCH] [Printer] Update serializer --- api/serializers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/serializers.py b/api/serializers.py index 18d44c50..3307ac98 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -724,8 +724,7 @@ class PrintJobSerializer(NamespacedHMSerializer): """ class Meta: model = printer.JobWithOptions - fields = ('file', 'filename', 'status', 'starttime', 'endtime', 'api_url') - + exclude = ('price', 'pages') # SERVICE REGEN