Skip to content

Commit

Permalink
Fix django-debug env variable (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente authored Jun 28, 2024
1 parent 9bf2fdb commit 36dcca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/netbox/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
# Set to True to enable server debugging. WARNING: Debugging introduces a substantial performance penalty and may reveal
# sensitive information about your installation. Only enable debugging while performing testing. Never enable debugging
# on a production system.
DEBUG = os.environ.get("DJANGO_DEBUG", False)
DEBUG = os.environ.get("DJANGO_DEBUG", "false") == "true"

# Set the default preferred language/locale
DEFAULT_LANGUAGE = 'en-us'
Expand Down

0 comments on commit 36dcca3

Please sign in to comment.