mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 19:03:11 +00:00
Fix : autorise blank pour message mail adhésion
This commit is contained in:
parent
ff9f6e5cc2
commit
c5f96fee62
2 changed files with 35 additions and 2 deletions
25
preferences/migrations/0064_auto_20191008_1335.py
Normal file
25
preferences/migrations/0064_auto_20191008_1335.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.23 on 2019-10-08 11:35
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('preferences', '0063_mandate'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='mailmessageoption',
|
||||
name='welcome_mail_en',
|
||||
field=models.TextField(blank=True, default='', help_text='Welcome email in English'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='mailmessageoption',
|
||||
name='welcome_mail_fr',
|
||||
field=models.TextField(blank=True, default='', help_text='Welcome email in French'),
|
||||
),
|
||||
]
|
|
@ -616,8 +616,16 @@ def homeoption_post_save(**kwargs):
|
|||
class MailMessageOption(AclMixin, models.Model):
|
||||
"""Reglages, mail de bienvenue et autre"""
|
||||
|
||||
welcome_mail_fr = models.TextField(default="", help_text=_("Welcome email in French"))
|
||||
welcome_mail_en = models.TextField(default="", help_text=_("Welcome email in English"))
|
||||
welcome_mail_fr = models.TextField(
|
||||
default="",
|
||||
blank=True,
|
||||
help_text=_("Welcome email in French")
|
||||
)
|
||||
welcome_mail_en = models.TextField(
|
||||
default="",
|
||||
blank=True,
|
||||
help_text=_("Welcome email in English")
|
||||
)
|
||||
|
||||
class Meta:
|
||||
permissions = (
|
||||
|
|
Loading…
Reference in a new issue