Merge pull request #1428 from ae-utbm/fix-session-barmen

CounterLogin: manage case where barman is already logged in another device
This commit is contained in:
thomas girod
2026-06-15 12:54:34 +02:00
committed by GitHub
6 changed files with 73 additions and 29 deletions
+1 -1
View File
@@ -1117,7 +1117,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: