Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
M
ManifestationSportive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Openscop
ManifestationSportive
Commits
14da35e8
Commit
14da35e8
authored
Jan 10, 2019
by
Openscop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[+] Définir l'adresse d'envoi d'email par défaut des instances
parent
6311f948
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
core/migrations/0019_auto_20190110_1228.py
core/migrations/0019_auto_20190110_1228.py
+18
-0
core/models/instance.py
core/models/instance.py
+1
-1
No files found.
core/migrations/0019_auto_20190110_1228.py
0 → 100644
View file @
14da35e8
# Generated by Django 2.1.2 on 2019-01-10 11:28
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'core'
,
'0018_auto_20181011_1132'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'instance'
,
name
=
'sender_email'
,
field
=
models
.
CharField
(
default
=
'Manifestationsportive.fr <plateforme@manifestationsportive.fr>'
,
max_length
=
128
,
verbose_name
=
"Email d'expéditeur"
),
),
]
core/models/instance.py
View file @
14da35e8
...
...
@@ -119,7 +119,7 @@ class Instance(models.Model):
verbose_name
=
"Délai autorisation véhicules terrestres motorisés sur circuit homologué"
)
# Email d'expéditeur pour les notifications de manifestations
sender_email
=
models
.
CharField
(
max_length
=
128
,
default
=
settings
.
DEFAULT_FROM_EMAIL
,
verbose_name
=
"Email d'expéditeur"
)
sender_email
=
models
.
CharField
(
max_length
=
128
,
default
=
"Manifestationsportive.fr <plateforme@manifestationsportive.fr>"
,
verbose_name
=
"Email d'expéditeur"
)
email_settings
=
models
.
CharField
(
max_length
=
192
,
blank
=
True
,
default
=
''
,
help_text
=
EMAIL_HELP
,
verbose_name
=
"Configuration email"
)
objects
=
InstanceManager
()
...
...
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