Skip to content

Commit 02827cf

Browse files
committed
Allow resolution reason to be blank
1 parent b0c636b commit 02827cf

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by Django 3.2.24 on 2025-07-15 20:11
2+
from django.db import migrations
3+
from django.db import models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("contentcuration", "0156_communitylibrarysubmission_admin_fields"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="communitylibrarysubmission",
15+
name="resolution_reason",
16+
field=models.CharField(
17+
blank=True,
18+
choices=[
19+
("INVALID_LICENSING", "Invalid Licensing"),
20+
("TECHNICAL_QUALITY_ASSURANCE", "Technical Quality Assurance"),
21+
("INVALID_METADATA", "Invalid Metadata"),
22+
("PORTABILITY_ISSUES", "Portability Issues"),
23+
("OTHER", "Other"),
24+
],
25+
max_length=50,
26+
null=True,
27+
),
28+
),
29+
]

contentcuration/contentcuration/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,6 +2574,7 @@ class CommunityLibrarySubmission(models.Model):
25742574
resolution_reason = models.CharField(
25752575
max_length=50,
25762576
choices=community_library_submission.resolution_reason_choices,
2577+
blank=True,
25772578
null=True,
25782579
)
25792580
feedback_notes = models.TextField(blank=True, null=True)

0 commit comments

Comments
 (0)