Booking Guide
When To Use It
Use booking when your Django project needs ORM-backed scheduling, slot discovery, booking creation, and optional multi-service chains on top of the codex-services engine.
Add The Scaffold
codex-django add-booking --project myproject
What Gets Added
booking/application files- booking settings files under
system/ - cabinet booking views and templates
- booking page templates and partials
Follow-Up Wiring
After scaffolding, wire the generated code into your project:
- Add
bookingtoINSTALLED_APPSorLOCAL_APPS. - Export
BookingSettingsfromsystem/models/__init__.py. - Register the generated admin integration for booking settings.
- Run migrations for
bookingandsystem. - Include
booking.urlsin the project URL configuration. - Expose the generated cabinet booking URLs if you use cabinet pages.
Runtime Entry Points
codex_django.bookingcodex_django.booking.selectorscodex_django.booking.adapterscodex_django.booking.mixins
Related Reading
- Architecture:
booking - API reference:
codex_django.booking