Extended Liaison to_contacts field to 2000 characters. Fixes #2024. Commit ready for merge.
- Legacy-Id: 12132
This commit is contained in:
parent
088181cf52
commit
4634b2dd73
|
@ -210,6 +210,7 @@ class LiaisonModelForm(BetterModelForm):
|
||||||
'''
|
'''
|
||||||
from_groups = forms.ModelMultipleChoiceField(queryset=Group.objects.all(),label=u'Groups',required=False)
|
from_groups = forms.ModelMultipleChoiceField(queryset=Group.objects.all(),label=u'Groups',required=False)
|
||||||
from_contact = forms.EmailField()
|
from_contact = forms.EmailField()
|
||||||
|
to_contacts = forms.CharField(label="Contacts", widget=forms.Textarea(attrs={'rows':'3', }))
|
||||||
to_groups = forms.ModelMultipleChoiceField(queryset=Group.objects,label=u'Groups',required=False)
|
to_groups = forms.ModelMultipleChoiceField(queryset=Group.objects,label=u'Groups',required=False)
|
||||||
deadline = DatepickerDateField(date_format="yyyy-mm-dd", picker_settings={"autoclose": "1" }, label='Deadline', required=True)
|
deadline = DatepickerDateField(date_format="yyyy-mm-dd", picker_settings={"autoclose": "1" }, label='Deadline', required=True)
|
||||||
related_to = SearchableLiaisonStatementsField(label=u'Related Liaison Statement', required=False)
|
related_to = SearchableLiaisonStatementsField(label=u'Related Liaison Statement', required=False)
|
||||||
|
|
20
ietf/liaisons/migrations/0011_auto_20161013_1034.py
Normal file
20
ietf/liaisons/migrations/0011_auto_20161013_1034.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import models, migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('liaisons', '0010_auto_20151119_1317'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='liaisonstatement',
|
||||||
|
name='to_contacts',
|
||||||
|
field=models.CharField(help_text=b'Contacts at recipient group', max_length=2000),
|
||||||
|
preserve_default=True,
|
||||||
|
),
|
||||||
|
]
|
|
@ -28,7 +28,7 @@ class LiaisonStatement(models.Model):
|
||||||
from_groups = models.ManyToManyField(Group, blank=True, related_name='liaisonstatement_from_set')
|
from_groups = models.ManyToManyField(Group, blank=True, related_name='liaisonstatement_from_set')
|
||||||
from_contact = models.ForeignKey(Email, blank=True, null=True)
|
from_contact = models.ForeignKey(Email, blank=True, null=True)
|
||||||
to_groups = models.ManyToManyField(Group, blank=True, related_name='liaisonstatement_to_set')
|
to_groups = models.ManyToManyField(Group, blank=True, related_name='liaisonstatement_to_set')
|
||||||
to_contacts = models.CharField(max_length=255, help_text="Contacts at recipient group")
|
to_contacts = models.CharField(max_length=2000, help_text="Contacts at recipient group")
|
||||||
|
|
||||||
response_contacts = models.CharField(blank=True, max_length=255, help_text="Where to send a response") # RFC4053
|
response_contacts = models.CharField(blank=True, max_length=255, help_text="Where to send a response") # RFC4053
|
||||||
technical_contacts = models.CharField(blank=True, max_length=255, help_text="Who to contact for clarification") # RFC4053
|
technical_contacts = models.CharField(blank=True, max_length=255, help_text="Who to contact for clarification") # RFC4053
|
||||||
|
|
Loading…
Reference in a new issue