Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
oser-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamza Touizrat
oser-backend
Merge requests
!62
add
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
add
verification_mail
into
master
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Hamza Touizrat
requested to merge
verification_mail
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
4
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5f17861d
1 commit,
2 years ago
4 files
+
352
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
oser_backend/settings/common.py
+
2
−
1
View file @ 5f17861d
Edit in single-file editor
Open in Web IDE
Show full file
@@ -15,7 +15,6 @@ load_dotenv()
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
dn
=
os
.
path
.
dirname
BASE_DIR
=
dn
(
dn
(
dn
(
os
.
path
.
abspath
(
__file__
))))
# SECURITY WARNING: keep the secret key used in production secret!
# One way to do this is to store it in an environment variable on the server
SECRET_KEY
=
os
.
environ
.
get
(
'
SECRET_KEY
'
,
@@ -267,6 +266,8 @@ SENDGRID_ECHO_TO_STDOUT = True
MAILS_ENABLED
=
True
MAILS_NOTIFICATIONS_ADDRESS
=
'
notifications@oser-cs.fr
'
MAILS_RAISE_EXCEPTIONS
=
False
HTML_MESSAGE_TEMPLATE
=
BASE_DIR
+
\
"
/profiles/templates/profiles/template_email_verification.html
"
# Visits app config
VISITS_TEAM_EMAIL
=
os
.
environ
.
get
(
'
VISITS_TEAM_EMAIL
'
,
Loading