Skip to content

Commit

Permalink
adds migration
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopicchio committed Jan 15, 2025
1 parent d6b8854 commit 9e88547
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/content/migrations/0045_alter_contentpage_description.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 5.1.4 on 2025-01-15 14:25

import content.validators
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("content", "0044_alter_contentpage_description"),
]

operations = [
migrations.AlterField(
model_name="contentpage",
name="description",
field=models.TextField(
blank=True,
help_text="This should not be more than 30 words.",
null=True,
validators=[content.validators.validate_description_word_count],
),
),
]

0 comments on commit 9e88547

Please sign in to comment.