Description
Deployment Type
Self-hosted
NetBox Version
v4.2.6, v4.3.1
Python Version
3.12
Steps to Reproduce
- Create a config template with the following content
{# empty template test #}
- Create a device and attach the template created in step 1
- Open the device config render tab
Expected Behavior
A config render page with no output
Observed Behavior
Django template render error due to attempting to translate a None
assigned variable
<class 'AttributeError'>
'NoneType' object has no attribute 'replace'
Python version: 3.12.5
NetBox version: 4.2.6
Plugins:
netbox_attachments: 7.2.0
netbox_dns: 1.2.1
netbox_inventory: 2.3.0