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

UI cleanup

This commit is contained in:
jeremystretch
2021-08-26 14:48:24 -04:00
parent 94b8d36065
commit 3203db07b7
5 changed files with 32 additions and 9 deletions

View File

@ -91,7 +91,7 @@ class Webhook(ChangeLoggedModel):
blank=True,
help_text="User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. "
"Headers should be defined in the format <code>Name: Value</code>. Jinja2 template processing is "
"support with the same context as the request body (below)."
"supported with the same context as the request body (below)."
)
body_template = models.TextField(
blank=True,
@ -249,7 +249,8 @@ class ExportTemplate(ChangeLoggedModel):
blank=True
)
template_code = models.TextField(
help_text='The list of objects being exported is passed as a context variable named <code>queryset</code>.'
help_text='Jinja2 template code. The list of objects being exported is passed as a context variable named '
'<code>queryset</code>.'
)
mime_type = models.CharField(
max_length=50,