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-07 11:47:58 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
589fc0c947af57b1dfd4fb3d6a675e6658fe4322
589fc0c9
1 parent
9e67ed3b
Closed feature/#17_eliminar_requests
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
project/settings/base.py
project/settings/base.py
View file @
589fc0c
...
...
@@ -28,6 +28,7 @@ DEBUG = env.bool('DJANGO_DEBUG', False)
SECRET_KEY
=
env
(
'DJANGO_SECRET_KEY'
,
default
=
'CHANGEME!!!'
)
# noqa
ALLOWED_HOSTS
=
env
.
list
(
'DJANGO_ALLOWED_HOSTS'
,
default
=
'*'
)
# noqa
CSRF_TRUSTED_ORIGINS
=
env
.
list
(
'DJANGO_CSRF_TRUSTED_ORIGINS'
,
default
=
[])
FORCE_SCRIPT_NAME
=
env
.
str
(
'DJANGO_FORCE_SCRIPT_NAME'
,
default
=
None
)
USE_X_FORWARDED_HOST
=
env
.
bool
(
'DJANGO_USE_X_FORWARDED_HOST'
,
default
=
False
)
...
...
@@ -50,7 +51,6 @@ THIRD_PARTY_APPS = (
'django_filters'
,
'corsheaders'
,
'oauth2_provider'
,
'requests'
,
)
PROJECT_APPS
=
(
...
...
@@ -173,6 +173,5 @@ AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend'
,
)
CSRF_TRUSTED_ORIGINS
=
env
.
list
(
'DJANGO_CSRF_TRUSTED_ORIGINS'
,
default
=
[])
# Secret Key para Captcha.
SECRET_KEY_CAPTCHA
=
env
.
str
(
"SECRET_KEY_CAPTCHA"
,
default
=
""
)
SECRET_KEY_CAPTCHA
=
env
.
str
(
'SECRET_KEY_CAPTCHA'
,
default
=
""
)
...
...
Please
register
or
login
to post a comment