Skip to content

Import code in reports #451

Answered by rebortg
rebortg asked this question in Getting Help
Discussion options

You must be logged in to vote

extend the sys.path in e.g. in configuration.py helps me. b/c the reports folder is not in netbox root

import sys
sys.path.insert(0,'/etc/netbox')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rebortg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant