Commit 14da35e8 authored by Openscop's avatar Openscop

[+] Définir l'adresse d'envoi d'email par défaut des instances

parent 6311f948
# 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"),
),
]
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment