[Answered ]-In the netbox plugin development tutorial, where is manage.py being run from?

1👍

The manage.pyis part of the Django application (= website). It is located in the Django root folder, see e.g. Django tutorial.

So, a plugin never has got its own manage.py, but it may have got a set of migration files that are used by the Django app when python manage.py migrate is invoked and the plugin has been installed and defined as being a part of the Django app (within settings.py).

👤Nechoj

0👍

Assuming you’ve followed the installation instructions and installed Netbox in /opt/netbox, the manage.py file you need to use is located in /opt/netbox/netbox/ folder.

Don’t forget to activate the virtual environment in /opt/netbox/venv and to set DEVELOP to True in /opt/netbox/netbox/netbox/configuration.py

Leave a comment