Skip to content

Commit dbfea90

Browse files
committed
Merged in [12132] from rcross@amsl.com:
Extended Liaison to_contacts field to 2000 characters. Fixes ietf-tools#2024. - Legacy-Id: 12139 Note: SVN reference [12132] has been migrated to Git commit 4634b2d
2 parents 20c9bc9 + 4634b2d commit dbfea90

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

ietf/liaisons/forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ class LiaisonModelForm(BetterModelForm):
210210
'''
211211
from_groups = forms.ModelMultipleChoiceField(queryset=Group.objects.all(),label=u'Groups',required=False)
212212
from_contact = forms.EmailField()
213+
to_contacts = forms.CharField(label="Contacts", widget=forms.Textarea(attrs={'rows':'3', }))
213214
to_groups = forms.ModelMultipleChoiceField(queryset=Group.objects,label=u'Groups',required=False)
214215
deadline = DatepickerDateField(date_format="yyyy-mm-dd", picker_settings={"autoclose": "1" }, label='Deadline', required=True)
215216
related_to = SearchableLiaisonStatementsField(label=u'Related Liaison Statement', required=False)
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
from __future__ import unicode_literals
3+
4+
from django.db import models, migrations
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('liaisons', '0010_auto_20151119_1317'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='liaisonstatement',
16+
name='to_contacts',
17+
field=models.CharField(help_text=b'Contacts at recipient group', max_length=2000),
18+
preserve_default=True,
19+
),
20+
]

ietf/liaisons/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class LiaisonStatement(models.Model):
2828
from_groups = models.ManyToManyField(Group, blank=True, related_name='liaisonstatement_from_set')
2929
from_contact = models.ForeignKey(Email, blank=True, null=True)
3030
to_groups = models.ManyToManyField(Group, blank=True, related_name='liaisonstatement_to_set')
31-
to_contacts = models.CharField(max_length=255, help_text="Contacts at recipient group")
31+
to_contacts = models.CharField(max_length=2000, help_text="Contacts at recipient group")
3232

3333
response_contacts = models.CharField(blank=True, max_length=255, help_text="Where to send a response") # RFC4053
3434
technical_contacts = models.CharField(blank=True, max_length=255, help_text="Who to contact for clarification") # RFC4053

0 commit comments

Comments
 (0)