Skip to content

Commit 087b6cf

Browse files
committed
Better validation documentation for bookings
1 parent 7e23825 commit 087b6cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/ohq/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,8 @@ def __str__(self):
451451

452452
class Booking(models.Model):
453453
"""
454-
Booking within an occurrence
454+
Booking within an occurrence.
455+
Bookings can only be created at nice start times (i.e. :00, :15, :30, :45).
455456
"""
456457

457458
occurrence = models.ForeignKey(Occurrence, on_delete=models.CASCADE, related_name="bookings")

0 commit comments

Comments
 (0)