Skip to content

Commit

Permalink
Expanded item title to 700 characters (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuastegmaier authored Dec 16, 2024
1 parent 23798f1 commit 6203a23
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions concordia/migrations/0103_alter_item_title.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.16 on 2024-12-16 18:03

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("concordia", "0102_campaign_research_centers"),
]

operations = [
migrations.AlterField(
model_name="item",
name="title",
field=models.CharField(max_length=700),
),
]
2 changes: 1 addition & 1 deletion concordia/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ class Item(MetricsModelMixin("item"), models.Model):

published = models.BooleanField(default=False, blank=True)

title = models.CharField(max_length=600)
title = models.CharField(max_length=700)
item_url = models.URLField(max_length=255)
item_id = models.CharField(
max_length=100, help_text="Unique item ID assigned by the upstream source"
Expand Down

0 comments on commit 6203a23

Please sign in to comment.