ImportError from ObjectContactsView when running the manage.py migrate command #328
Closed
dumbledong
started this conversation in
General
Replies: 1 comment 1 reply
-
I see /opt/netbox-3.5.1/ but you run the command from /opt/netbox/netbox, is this a softlink? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NetBox version
3.5.1
Topology Views version
3.4 - unfortunately I don't know exactly where to check
Steps to Reproduce
When running the following command (from /opt/netbox/netbox within virtual env)
python3 manage.py migrate netbox_topology_views
Expected Behavior
The command should complete without error, then I should be able to run
python3 manage.py collectstatic --no-input
Observed Behavior
Receive the error
ImportError: cannot import name 'ObjectContactsView' from 'tenancy.views' (/opt/netbox-3.5.1/netbox/tenancy/views.py)
:
Beta Was this translation helpful? Give feedback.
All reactions