-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modification to wagtail page description subtitle. (#868)
- Loading branch information
1 parent
07df9d9
commit 7522c70
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/content/migrations/0045_alter_contentpage_description.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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], | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters