Import code in reports #451
Answered
by
rebortg
rebortg
asked this question in
Getting Help
-
Hey, i have this structure in the reports:
in a native netbox installation i can import stuff from utils in Report1.py and Report2.py in the docker version this don't work.
Anyone who knows whats to do? Or how i can hack around this? |
Beta Was this translation helpful? Give feedback.
Answered by
rebortg
Feb 25, 2021
Replies: 1 comment
-
extend the sys.path in e.g. in configuration.py helps me. b/c the reports folder is not in netbox root
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rebortg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
extend the sys.path in e.g. in configuration.py helps me. b/c the reports folder is not in netbox root