mirror of
https://github.com/ae-utbm/sith.git
synced 2026-11-05 00:39:32 +00:00
test: ReservationForm
This commit is contained in:
1 parent
6114184daa
commit
4bbe049dcc
9 files changed
+152
-56
No files matched your search
@@ -109,6 +109,7 @@ class Migration(migrations.Migration):
|
||||
models.CheckConstraint(
|
||||
condition=models.Q(("end_at__gt", models.F("start_at"))),
|
||||
name="reservation_slot_end_after_start",
|
||||
violation_error_code="start_after_end",
|
||||
)
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user