Closes #5830: Add as_attachment field to API serializers and admin view.

This commit is contained in:
Martin Rødvand
2021-03-30 23:10:08 +02:00
parent 9ede726eea
commit 878154c305
3 changed files with 4 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ class ExportTemplateSerializer(ValidatedModelSerializer):
model = ExportTemplate
fields = [
'id', 'url', 'display', 'content_type', 'name', 'description', 'template_code', 'mime_type',
'file_extension',
'file_extension', 'as_attachment',
]