1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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

@@ -253,7 +253,7 @@ class ExportTemplate(BigIDModel):
)
as_attachment = models.BooleanField(
default=True,
help_text="Present file as attachment"
help_text="Download file as attachment"
)
objects = RestrictedQuerySet.as_manager()