netbox-plugin-tutorial icon indicating copy to clipboard operation
netbox-plugin-tutorial copied to clipboard

Add MANIFEST.in into tutorial

Open Kani999 opened this issue 3 years ago • 1 comments

In the tutorial is missing creating a MANIFEST.in file. When missing without proper lines

recursive-include <plugin_folder>/templates *

it causes the django.template.exceptions.TemplateDoesNotExist: <plugin_name>/<templates>.html when installing within a netbox.

Kani999 avatar Nov 11 '22 08:11 Kani999

I had the same issue and it was indeed resolved thanks to @Kani999 's advice by adding a MANIFEST.in file near setup.py with the following content:

recursive-include netbox_access_lists/templates *

Lay3r8 avatar Apr 29 '25 06:04 Lay3r8