Skip to content

Commit

Permalink
Do not set default description for Public Entities
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Apr 29, 2024
1 parent d17fc31 commit 4408f50
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions budgetportal/migrations/0078_auto_20240418_2212.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.2.20 on 2024-04-18 22:12

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('budgetportal', '0077_publicentity_amount'),
]

operations = [
migrations.AlterField(
model_name='publicentity',
name='intro',
field=models.TextField(blank=True, default=''),
),
]
2 changes: 1 addition & 1 deletion budgetportal/models/government.py
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ class PublicEntity(models.Model):
slug = AutoSlugField(
populate_from="name", max_length=200, always_update=True, editable=True
)
intro = models.TextField(default="A description of this public entity.")
intro = models.TextField(default="", blank=True)

pfma = models.CharField(
max_length=10, blank=False, null=False, choices=PFMA_CHOICES
Expand Down

0 comments on commit 4408f50

Please sign in to comment.