Skip to content

Commit a2d387e

Browse files
committed
Increase size of Party name and email fields #601
Signed-off-by: Jono Yang <[email protected]>
1 parent 758cb4a commit a2d387e

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Generated by Django 5.1.5 on 2025-04-03 20:10
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("packagedb", "0091_package_is_duplicate"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="party",
15+
name="email",
16+
field=models.CharField(
17+
blank=True,
18+
help_text="Email for this party.",
19+
max_length=1024,
20+
null=True,
21+
),
22+
),
23+
migrations.AlterField(
24+
model_name="party",
25+
name="name",
26+
field=models.CharField(
27+
blank=True, help_text="Name of this party.", max_length=1024, null=True
28+
),
29+
),
30+
]

packagedb/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,11 +857,11 @@ class Party(models.Model):
857857
)
858858

859859
name = models.CharField(
860-
max_length=255, blank=True, null=True, help_text=_("Name of this party.")
860+
max_length=1024, blank=True, null=True, help_text=_("Name of this party.")
861861
)
862862

863863
email = models.CharField(
864-
max_length=255, blank=True, null=True, help_text=_("Email for this party.")
864+
max_length=1024, blank=True, null=True, help_text=_("Email for this party.")
865865
)
866866

867867
url = models.CharField(

0 commit comments

Comments
 (0)