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

Merge branch 'broaden_customised_reminder_message' into 'dev'

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

See merge request federez/re2o!422
This commit is contained in:
grizzly 2019-07-13 11:38:47 +02:00
commit b8ab569a38
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, unique=True,
help_text=_("Delay between the email and the membership's end") help_text=_("Delay between the email and the membership's end")
) )
message = models.CharField( message = models.TextField(
max_length=255,
default="", default="",
null=True, null=True,
blank=True, blank=True,