From 18416640e61b4d34301594a1998cb0185d608a1c Mon Sep 17 00:00:00 2001 From: Shoaib Sarwar Date: Wed, 13 Nov 2024 13:10:25 +0500 Subject: [PATCH] [ISSUE-3783] Altering title in the TicketNote --- djautotask/__init__.py | 2 +- .../migrations/0121_alter_ticketnote_title.py | 18 ++++++++++++++++++ djautotask/models.py | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 djautotask/migrations/0121_alter_ticketnote_title.py diff --git a/djautotask/__init__.py b/djautotask/__init__.py index cfedf1b..df8a1b4 100644 --- a/djautotask/__init__.py +++ b/djautotask/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -VERSION = (1, 6, 9, 'final') +VERSION = (1, 6, 10, 'final') # pragma: no cover if VERSION[-1] != "final": diff --git a/djautotask/migrations/0121_alter_ticketnote_title.py b/djautotask/migrations/0121_alter_ticketnote_title.py new file mode 100644 index 0000000..4d1286c --- /dev/null +++ b/djautotask/migrations/0121_alter_ticketnote_title.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.16 on 2024-11-12 16:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('djautotask', '0120_merge_20241101_1316'), + ] + + operations = [ + migrations.AlterField( + model_name='ticketnote', + name='title', + field=models.CharField(blank=True, max_length=250, null=True), + ), + ] diff --git a/djautotask/models.py b/djautotask/models.py index 92397bf..e95bbbf 100644 --- a/djautotask/models.py +++ b/djautotask/models.py @@ -443,7 +443,7 @@ def get_queryset(self): class TicketNote(TimeStampedModel, Note): - title = models.CharField(max_length=250) + title = models.CharField(max_length=250, blank=True, null=True) description = models.CharField(max_length=3200) create_date_time = models.DateTimeField(blank=True, null=True) last_activity_date = models.DateTimeField(blank=True, null=True)