8000 fix: Set Review Type Name for IETF Last Call by russhousley · Pull Request #8678 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Set Review Type Name for IETF Last Call #8678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ietf/name/fixtures/names.json
Original file line number Diff line number Diff line change
Expand Up @@ -2628,7 +2628,7 @@
"used": true
},
"model": "doc.state",
"pk": 182
"pk": 181
},
{
"fields": {
Expand Down Expand Up @@ -13210,7 +13210,7 @@
{
"fields": {
"desc": "",
"name": "Last Call",
"name": "IETF Last Call",
"order": 2,
"used": true
},
Expand Down
22 changes: 22 additions & 0 deletions ietf/name/migrations/0015_last_call_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2025, IETF Trust

from django.db import migrations


def forward(apps, schema_editor):
ReviewTypeName = apps.get_model("name", "ReviewTypeName")
ReviewTypeName.objects.filter(slug="lc").update(name="IETF Last Call")

def reverse(apps, schema_editor):
ReviewTypeName = apps.get_model("name", "ReviewTypeName")
ReviewTypeName.objects.filter(slug="lc").update(name="Last Call")

class Migration(migrations.Migration):

dependencies = [
("name", "0014_change_legacy_stream_desc"),
]

operations = [
migrations.RunPython(forward, reverse)
]
Loading
0