diff options
-rw-r--r-- | patchwork/api/patch.py | 3 |
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') |