diff --git a/djautotask/__init__.py b/djautotask/__init__.py index df8a1b4..b29a95a 100644 --- a/djautotask/__init__.py +++ b/djautotask/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -VERSION = (1, 6, 10, 'final') +VERSION = (1, 6, 11, 'final') # pragma: no cover if VERSION[-1] != "final": diff --git a/djautotask/migrations/0122_alter_ticketnote_title.py b/djautotask/migrations/0122_alter_ticketnote_title.py new file mode 100644 index 0000000..16e0663 --- /dev/null +++ b/djautotask/migrations/0122_alter_ticketnote_title.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.16 on 2024-11-13 12:08 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('djautotask', '0121_merge_0120_merge_20241101_1316_0120_resource_title'), + ] + + 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 24632d6..f5c70c1 100644 --- a/djautotask/models.py +++ b/djautotask/models.py @@ -444,7 +444,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)