Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
5bd0e2de
Commit
5bd0e2de
authored
Feb 06, 2020
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed redundant configs on base.py
parent
c61dd1f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
config/settings/base.py
config/settings/base.py
+2
-7
No files found.
config/settings/base.py
View file @
5bd0e2de
...
@@ -29,7 +29,7 @@ SECRET_KEY = 'w!dkk7gc*dk#4!6ow3s1wc32%_yp$=osgybm=n0vw6k1j^sqo&'
...
@@ -29,7 +29,7 @@ SECRET_KEY = 'w!dkk7gc*dk#4!6ow3s1wc32%_yp$=osgybm=n0vw6k1j^sqo&'
DEBUG
=
False
DEBUG
=
False
ALLOWED_HOSTS
=
[
'*'
]
ALLOWED_HOSTS
=
[
'*'
]
CORS_ORIGIN_ALLOW_ALL
=
True
# Application definition
# Application definition
...
@@ -128,7 +128,7 @@ STATIC_ROOT = os.path.join(BASE_DIR, "static")
...
@@ -128,7 +128,7 @@ STATIC_ROOT = os.path.join(BASE_DIR, "static")
MEDIA_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'media'
)
MEDIA_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'media'
)
MEDIA_URL
=
'/media/'
MEDIA_URL
=
'/media/'
# CORS_ORIGIN_ALLOW_ALL = True
REST_SESSION_LOGIN
=
True
REST_SESSION_LOGIN
=
True
...
@@ -175,10 +175,6 @@ EMAIL_DEFAULT_SENDER = 'noreply@rms-hub.com'
...
@@ -175,10 +175,6 @@ EMAIL_DEFAULT_SENDER = 'noreply@rms-hub.com'
# config
# config
#########################################################################
#########################################################################
DEBUG
=
False
ALLOWED_HOSTS
=
[
'*'
]
# CORS_ORIGIN_ALLOW_ALL = True
config
=
configparser
.
ConfigParser
()
config
=
configparser
.
ConfigParser
()
config_file
=
os
.
path
.
join
(
'./'
,
'env.ini'
)
config_file
=
os
.
path
.
join
(
'./'
,
'env.ini'
)
...
@@ -232,4 +228,3 @@ CATCH_EMAIL = config['SETTINGS']['CATCH_EMAIL']
...
@@ -232,4 +228,3 @@ CATCH_EMAIL = config['SETTINGS']['CATCH_EMAIL']
CR_FRONT_LINK
=
config
[
'SETTINGS'
][
'CR_LINK'
]
CR_FRONT_LINK
=
config
[
'SETTINGS'
][
'CR_LINK'
]
CORS_ORIGIN_ALLOW_ALL
=
True
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment