About
Book the lab's machines by the hour: a week calendar, bookings confirmed at once or, if configured, an approval queue
Provides
Models
Reservation
Services
ReservationService
Routes
/admin/bookings/admin/bookings/<int:reservation_id>/approve/admin/bookings/<int:reservation_id>/reject/book/book/next-free/book/room/bookings/bookings/<int:reservation_id>/cancel/bookings/<int:reservation_id>/extend/bookings/<int:reservation_id>/reschedule/bookings/ending-soon/calendar/my-bookings/rules
Signals
reservation-decidedreservation-pending
Translations
es
Commands
-
$
splent feature:reservations upcomingList pending and confirmed bookings that have not ended.
Run them in your workspace once the feature is installed in the selected product.
Configuration
| Setting | Default | What it does |
|---|---|---|
RESERVATIONS_NODES |
Spark 1,Spark 2
|
No description yet. |
RESERVATIONS_NODE_MEMORY_GB |
110
|
No description yet. |
RESERVATIONS_APPROVAL |
never
|
No description yet. |
RESERVATIONS_APPROVAL_MODES |
empty | No description yet. |
RESERVATIONS_MAX_AUTO_HOURS |
72
|
No description yet. |
RESERVATIONS_HORIZON_DAYS |
30
|
No description yet. |
RESERVATIONS_MAX_ACTIVE |
2
|
No description yet. |
RESERVATIONS_TIMEZONE |
Europe/Madrid
|
No description yet. |
These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.
Dependencies
Requires
Works better with
Listens to
user-deleting
In product lines
-
labcompute
Optional in this line
Needs
auth
Extension points
Hook slots
reservations.form.model
Templates
reservations/admin_pending.htmlreservations/calendar.htmlreservations/everyone.htmlreservations/help.htmlreservations/mine.htmlreservations/new.html
Services
ReservationService
Models
Reservation
Routes
A refinement can add routes to its blueprint
Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.
Compatibility
Python
>=3.13
SPLENT framework
No range declared