-
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.
Teams can now have a custom description / HTML content
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
neighbourhood/migrations/0025_team_description_team_has_rich_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,27 @@ | ||
# Generated by Django 4.1 on 2024-10-04 13:23 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("neighbourhood", "0024_team_boundary"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="team", | ||
name="description", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Detailed text content (plain text or HTML) shown on the public team page", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="team", | ||
name="has_rich_description", | ||
field=models.BooleanField( | ||
default=False, help_text="True if description is raw HTML" | ||
), | ||
), | ||
] |
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
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