manage case where barman is already logged in another device

This commit is contained in:
imperosol committed 2026-06-12 10:32:16 +02:00
1 parent 1957aa1fdb
commit 519a7758c5
6 files changed
+73 -29

No files matched your search

+1 -1
View File
@@ -1105,7 +1105,7 @@ class Permanency(models.Model):
on_delete=models.CASCADE,
)
start = models.DateTimeField(_("start date"))
end = models.DateTimeField(_("end date"), null=True, db_index=True)
end = models.DateTimeField(_("end date"), null=True, blank=True, db_index=True)
activity = models.DateTimeField(_("last activity date"), auto_now=True)
class Meta: