Files
pretix_cgo/doc/development/implementation/index.rst
Mira b638c00952 Time machine mode [Z#23129725] (#3961)
Allows organizers to test their shop as if it were a different date and time.

Implemented using a time_machine_now() function which is used instead of regular now(), which can overlay the real date time with a value from a ContextVar, assigned from a session value in EventMiddleware.

For more information, see doc/development/implementation/timemachine.rst

---------

Co-authored-by: Richard Schreiber <schreiber@rami.io>
Co-authored-by: Raphael Michel <michel@rami.io>
2024-05-17 10:52:17 +02:00

23 lines
455 B
ReStructuredText

Implementation and Utilities
============================
This chapter describes the various inner workings that power pretix, most of them living in ``pretix.base``.
If you want to develop around pretix's core or advanced plugins, this aims to describe everything you absolutely
need to know.
Contents:
.. toctree::
:maxdepth: 2
models
urlconfig
i18n
settings
background
email
permissions
logging
locking
timemachine