summaryrefslogtreecommitdiff
path: root/patchwork/api/embedded.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/api/embedded.py')
-rw-r--r--patchwork/api/embedded.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/patchwork/api/embedded.py b/patchwork/api/embedded.py
index 85a30ca..cb3f07e 100644
--- a/patchwork/api/embedded.py
+++ b/patchwork/api/embedded.py
@@ -141,7 +141,8 @@ class PatchSerializer(SerializedRelatedField):
class PatchRelationSerializer(BaseHyperlinkedModelSerializer):
"""Hide the PatchRelation model, just show the list"""
- patches = PatchSerializer(many=True)
+ patches = PatchSerializer(many=True,
+ style={'base_template': 'input.html'})
def to_internal_value(self, data):
if not isinstance(data, type([])):