Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trazabilidad
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blockchain
trazabilidad
Commits
40ef4df1
Commit
40ef4df1
authored
4 years ago
by
adorda
Browse files
Options
Downloads
Patches
Plain Diff
secret and debug as envs
parent
59517b0f
No related branches found
No related tags found
1 merge request
!1
Development
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
trazabilidad/settings.py
+2
-2
2 additions, 2 deletions
trazabilidad/settings.py
with
2 additions
and
2 deletions
trazabilidad/settings.py
+
2
−
2
View file @
40ef4df1
...
...
@@ -35,10 +35,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'
ser@=k-r(&j_-@bjxi9_jjrrg!48!i1g90^1r=@*$y*f-pk&r1
'
SECRET_KEY
=
os
.
getenv
(
"
SECRET_KEY
"
)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
DEBUG
=
os
.
getenv
(
"
DEBUG
"
,
0
)
ALLOWED_HOSTS
=
[
'
*
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment