Skip to content

Commit 57f4935

Browse files
authored
Merge pull request #262 from cmu-delphi/development
Updated documentation link max_length property
2 parents f65db33 + b9925a0 commit 57f4935

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 5.2.5 on 2025-12-18 18:11
2+
3+
import django.db.models.deletion
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
("alternative_interface", "0001_initial"),
11+
("indicators", "0008_alter_indicator_source_type"),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name="expressviewindicator",
17+
name="indicator",
18+
field=models.ForeignKey(
19+
on_delete=django.db.models.deletion.PROTECT,
20+
to="indicators.indicator",
21+
verbose_name="Indicator",
22+
),
23+
),
24+
]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by Django 5.2.5 on 2025-12-18 18:11
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("indicatorsets", "0007_alter_indicatorset_source_type"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="indicatorset",
15+
name="documentation_link",
16+
field=models.CharField(
17+
blank=True,
18+
help_text="Link to the documentation for the Indicator Set",
19+
max_length=500,
20+
verbose_name="Documentation Link",
21+
),
22+
),
23+
]

src/indicatorsets/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class IndicatorSet(models.Model):
180180
)
181181
documentation_link: models.CharField = models.CharField(
182182
verbose_name="Documentation Link",
183-
max_length=255,
183+
max_length=500,
184184
blank=True,
185185
help_text="Link to the documentation for the Indicator Set",
186186
)

0 commit comments

Comments
 (0)