8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

[Reminder] Broaden with textfield and unlimited message for customized end_membership

This commit is contained in:
Gabriel Detraz 2019-07-12 18:27:12 +02:00
parent 4a14d6480c
commit 94aca35190
2 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2019-07-12 16:21
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('preferences', '0059_auto_20190120_1739'),
]
operations = [
migrations.AlterField(
model_name='reminder',
name='message',
field=models.TextField(blank=True, default='', help_text='Message displayed specifically for this reminder', null=True),
),
]

View file

@ -380,8 +380,7 @@ class Reminder(AclMixin, models.Model):
unique=True,
help_text=_("Delay between the email and the membership's end")
)
message = models.CharField(
max_length=255,
message = models.TextField(
default="",
null=True,
blank=True,