Fixes: #19953 - ConfigTemplate debug rendering mode #164

Closed
opened 2026-04-05 16:22:36 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bctiemann on 3/12/2026

Fixes: #19953

This feature enhances the ConfigTemplate rendering behavior on devices by adding a debug field to expose template rendering errors with full tracebacks. When debug is True, template rendering exceptions are shown in a scrolling, monospaced div:

Screenshot 2026-03-11 at 7 53 34 PM

The non-debug Config Template rendering error message is also changed to a monospaced font for better readability.

*Originally created by @bctiemann on 3/12/2026* ### Fixes: #19953 This feature enhances the ConfigTemplate rendering behavior on devices by adding a `debug` field to expose template rendering errors with full tracebacks. When `debug` is True, template rendering exceptions are shown in a scrolling, monospaced div: <img width="1186" height="665" alt="Screenshot 2026-03-11 at 7 53 34 PM" src="https://github.com/user-attachments/assets/f68e56ea-ad3e-4118-85c8-6e106ddc1442" /> The non-debug Config Template rendering error message is also changed to a monospaced font for better readability.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#164