Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Marta Miranda
/
boletin_api
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Marta Miranda
2023-07-06 11:33:37 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5776382039fa920d610e9ef3dd2354cf2ecc19cf
57763820
1 parent
53f03079
Closed feature/#16_modificar_por_error_de_csrf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project/settings/base.py
project/settings/base.py
View file @
5776382
...
...
@@ -27,7 +27,7 @@ PROJECT_NAME_TITLE = env('PROJECT_NAME_TITLE', default='Project Name')
DEBUG
=
env
.
bool
(
'DJANGO_DEBUG'
,
False
)
SECRET_KEY
=
env
(
'DJANGO_SECRET_KEY'
,
default
=
'CHANGEME!!!'
)
# noqa
ALLOWED_HOSTS
=
env
.
list
(
'DJANGO_ALLOWED_HOSTS'
,
default
=
'*'
)
# noqa
#
ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default='*') # noqa
FORCE_SCRIPT_NAME
=
env
.
str
(
'DJANGO_FORCE_SCRIPT_NAME'
,
default
=
None
)
USE_X_FORWARDED_HOST
=
env
.
bool
(
'DJANGO_USE_X_FORWARDED_HOST'
,
default
=
False
)
...
...
Please
register
or
login
to post a comment