Skip to content

Commit be6065e

Browse files
committed
Manual post naming and string tweaks
- Legacy-Id: 11918
1 parent 7a8c067 commit be6065e

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

ietf/mailtrigger/migrations/0006_auto_20160707_1933.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ def forward(apps, schema_editor):
1010

1111
rc = Recipient.objects.create
1212

13-
rc(slug='manualpost_message',
14-
desc='The IETF manual post processing system',
13+
rc(slug='submission_manualpost_handling',
14+
desc='IETF manual post handling',
1515
template='<ietf-manualpost@ietf.org>')
1616

1717

1818
def reverse(apps, schema_editor):
1919
Recipient=apps.get_model('mailtrigger','Recipient')
2020

21-
Recipient.objects.filter(slug='manualpost_message').delete()
21+
Recipient.objects.filter(slug='submission_manualpost_handling').delete()
2222

2323

2424
class Migration(migrations.Migration):

ietf/mailtrigger/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def starts_with(prefix):
8181
return sorted(rule_list)
8282

8383
def get_base_submission_message_address():
84-
return Recipient.objects.get(slug='manualpost_message').gather()[0]
84+
return Recipient.objects.get(slug='submission_manualpost_handling').gather()[0]
8585

8686
def get_base_ipr_request_address():
8787
return Recipient.objects.get(slug='ipr_requests').gather()[0]

ietf/name/fixtures/names.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@
880880
"posted"
881881
],
882882
"used": true,
883-
"name": "Manual Post Awaiting Draft",
883+
"name": "Manual Post Waiting for Draft",
884884
"desc": ""
885885
},
886886
"model": "name.draftsubmissionstatename",
@@ -4920,10 +4920,10 @@
49204920
{
49214921
"fields": {
49224922
"template": "<ietf-manualpost@ietf.org>",
4923-
"desc": "The IETF manual post processing system"
4923+
"desc": "IETF manual post handling"
49244924
},
49254925
"model": "mailtrigger.recipient",
4926-
"pk": "manualpost_message"
4926+
"pk": "submission_manualpost_handling"
49274927
},
49284928
{
49294929
"fields": {

ietf/submit/migrations/0012_auto_20160414_1902.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def add_draft_submission_state_name(apps, schema_editor):
1010
# version than this migration expects. We use the historical version.
1111
DraftSubmissionStateName = apps.get_model("name", "DraftSubmissionStateName")
1212
DraftSubmissionStateName.objects.create(slug="waiting-for-draft",
13-
name="Manual Post Awaiting Draft Upload",
13+
name="Manual Post Waiting for Draft",
1414
desc="",
1515
used=True,
1616
order=8)

0 commit comments

Comments
 (0)