Skip to content

Commit b74e8db

Browse files
committed
update netbox config for plugin development
1 parent 69823ec commit b74e8db

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.devcontainer/configuration/configuration.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def _read_secret(secret_name, default=None):
155155
# on a production system.
156156
DEBUG = environ.get("DEBUG", "False").lower() == "true"
157157

158+
# Set to True to enable DEVELOPER Mode. WARNING: ONLY netbox developers or plugin developers need this access.
159+
DEVELOPER = environ.get("DEVELOPER_MODE", "False").lower() == "true"
160+
158161
# Email settings
159162
EMAIL = {
160163
"SERVER": environ.get("EMAIL_SERVER", "localhost"),

.devcontainer/env/netbox.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ DB_NAME=netbox
55
DB_PASSWORD=J5brHrAXFLQSif0K
66
DB_USER=netbox
77
DEBUG=true
8+
DEVELOPER_MODE=true
89
ENFORCE_GLOBAL_UNIQUE=true
910
LOGIN_REQUIRED=false
1011
GRAPHQL_ENABLED=true
@@ -19,5 +20,4 @@ SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
1920
SUPERUSER_EMAIL=admin@example.com
2021
SUPERUSER_NAME=admin
2122
SUPERUSER_PASSWORD=admin
22-
STARTUP_SCRIPTS=false
2323
WEBHOOKS_ENABLED=true

0 commit comments

Comments
 (0)