From b1cc7ea310e12016f39f31429a9c4834ee90e833 Mon Sep 17 00:00:00 2001 From: Mads Nylund <73914541+MadsNyl@users.noreply.github.com> Date: Thu, 26 Dec 2024 11:03:28 +0100 Subject: [PATCH] removed max limit from group description (#934) --- .../migrations/0021_alter_group_description.py | 18 ++++++++++++++++++ app/group/models/group.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 app/group/migrations/0021_alter_group_description.py diff --git a/app/group/migrations/0021_alter_group_description.py b/app/group/migrations/0021_alter_group_description.py new file mode 100644 index 00000000..cf6af11e --- /dev/null +++ b/app/group/migrations/0021_alter_group_description.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2024-12-26 09:51 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("group", "0020_alter_membership_membership_type_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="group", + name="description", + field=models.TextField(blank=True, null=True), + ), + ] diff --git a/app/group/models/group.py b/app/group/models/group.py index 6d4bbded..7b911128 100644 --- a/app/group/models/group.py +++ b/app/group/models/group.py @@ -19,7 +19,7 @@ class Group(OptionalImage, BaseModel, BasePermissionModel): name = models.CharField(max_length=50) slug = models.SlugField(max_length=50, primary_key=True) - description = models.TextField(max_length=1000, null=True, blank=True) + description = models.TextField(null=True, blank=True) contact_email = models.EmailField(max_length=200, null=True, blank=True) fine_info = models.TextField(default="", blank=True) type = models.CharField(