optional description
This commit is contained in:
parent
03b5af8244
commit
7a038252ea
2 changed files with 19 additions and 1 deletions
18
hub/services/migrations/0013_alter_plan_description.py
Normal file
18
hub/services/migrations/0013_alter_plan_description.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.1.5 on 2025-02-28 13:26
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("services", "0012_remove_serviceoffering_slug"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="plan",
|
||||
name="description",
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
]
|
|
@ -235,7 +235,7 @@ class ServiceOffering(models.Model):
|
|||
|
||||
class Plan(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
description = ProseEditorField()
|
||||
description = ProseEditorField(blank=True, null=True)
|
||||
plan_description = models.ForeignKey(
|
||||
ReusableText,
|
||||
on_delete=models.PROTECT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue