make the 'last_activity' field in /tickets show the actual last activity by making it a virtual field

This commit is contained in:
j3d1 2024-01-10 20:03:25 +01:00
parent 9aeb6a319f
commit 1804939407
7 changed files with 135 additions and 6 deletions

View file

@ -27,7 +27,6 @@ class IssueThread(SoftDeleteModel):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255)
assigned_to = models.CharField(max_length=255, null=True)
last_activity = models.DateTimeField(auto_now=True)
manually_created = models.BooleanField(default=False)
@property