demo1 / netboxdemo · your changes reset after you leave← Back to the guided tourscott@scottjarnold.com
extras.exporttemplate:4
| Name |
Cable labels (CSV)
|
|---|---|
| Description |
—
|
| MIME type |
text/csv
|
| File name |
—
|
| File extension |
csv
|
| Attachment |
|
| Data Source | — |
|---|---|
| Data File | — |
| Data Synced | — |
| DCIM | cable |
{}
cable,label,a_end,b_end,type,color
{% for c in queryset %}{{ c.pk }},{{ c.label }},{{ c.a_terminations[0].device.name if c.a_terminations else "" }} {{ c.a_terminations[0] if c.a_terminations else "" }},{{ c.b_terminations[0].device.name if c.b_terminations else "" }} {{ c.b_terminations[0] if c.b_terminations else "" }},{{ c.type }},{{ c.color }}
{% endfor %}