summaryrefslogtreecommitdiff
path: root/patchwork/api/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/api/patch.py')
-rw-r--r--patchwork/api/patch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/patchwork/api/patch.py b/patchwork/api/patch.py
index f6cb276..9d22275 100644
--- a/patchwork/api/patch.py
+++ b/patchwork/api/patch.py
@@ -84,7 +84,8 @@ class PatchListSerializer(BaseHyperlinkedModelSerializer):
checks = SerializerMethodField()
tags = SerializerMethodField()
related = PatchSerializer(
- source='related.patches', many=True, default=[])
+ source='related.patches', many=True, default=[],
+ style={'base_template': 'input.html'})
def get_web_url(self, instance):
request = self.context.get('request')