chrono/chrono
Benjamin Dauvergne 3ea108a3fc misc: use hobo.multitenant.spooler (#76419)
Trying to import uwsgi should not be used to detect if we are running in
pytest or not, in order to run callbacks attached to on_commit event in
the context of pytest-django (which run all tests inside implicit
transactions).

Here we replace somme spooler functions by a simpler launch_to_spooler() which
can launch inside the spooler any picklable functions.

For running on_commit() callbacks, the django.db.transaction module is
mirrored inside chrono.utils.transaction and we monkeypatch it during
tests to immediately run any defined on_commit callback.
2023-04-11 11:42:24 +02:00
..
agendas misc: use hobo.multitenant.spooler (#76419) 2023-04-11 11:42:24 +02:00
api api: fix datetimes for multiple agendas when no subscriptions & overlaps (#76217) 2023-04-04 16:14:53 +02:00
formats api: use django DATETIME_FORMAT to format dates 2016-03-30 08:04:51 +02:00
locale/fr/LC_MESSAGES translation update (#76380) 2023-04-07 15:16:20 +02:00
manager misc: use hobo.multitenant.spooler (#76419) 2023-04-11 11:42:24 +02:00
utils misc: use hobo.multitenant.spooler (#76419) 2023-04-11 11:42:24 +02:00
__init__.py initial application skeleton 2016-02-21 10:44:53 +01:00
interval.py misc: raise AssertionError instead of Exception (interval) (#74090) 2023-02-02 14:41:33 +01:00
settings.py misc: use hobo.multitenant.spooler (#76419) 2023-04-11 11:42:24 +02:00
urls.py misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 12:08:30 +02:00
urls_utils.py misc: remove django 1.11 compatibility code (#55895) 2021-07-29 14:44:20 +02:00
views.py misc: fix super-with-arguments pylint error (#55505) 2021-07-15 15:02:13 +02:00
wsgi.py misc: fix wrong-import-position pylint error (#55505) 2021-07-15 15:02:14 +02:00