forked from rockstor/rockstor-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use .env as dev_mode flag rockstor#2939
Rely on the DJANGO_DEBUG env variable to set DEBUG boolean that will in turn decide the installation of the dev group dependencies (includes the Django debug toolbar) as the appearance of the toolbar in the UI. Leave commented (= unset) by default to keep the default build NOT in the dev mode.
- Loading branch information
1 parent
116b6eb
commit b3600ca
Showing
2 changed files
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ PASSWORD_STORE_DIR=/root/.password-store | |
|
||
# Django | ||
DJANGO_SETTINGS_MODULE=settings | ||
#DJANGO_DEBUG=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters