Momotor Django documentation

The momotor-django package connects a Django project to a Momotor broker. The broker is the Momotor service that accepts check jobs, runs them on workers, and returns the results. Use this package when your Django site needs to send work to a broker and follow its progress.

The package gives you three things:

  • BrokerConnection, an async client that logs in to the broker and calls its methods. It reads its configuration from the MOMOTOR_BROKER Django setting.

  • Token stores, which save the broker session token so your site does not log in again for every call.

  • A model field and a form field for Momotor resource requirements. See Model and form fields.

Start with Connect your Django project to a broker to install the package and make your first broker call.

Supported versions

This package supports Django 5.2, 6.0, and 6.1 on Python 3.11 through 3.14. Python 3.11 requires Django 5.2. Django 6.0 and 6.1 require Python 3.12 or newer.

Added in version 6.0.0: Support for Django 6.0 and 6.1, and for Python 3.14. Django versions before 5.2 and Python versions before 3.11 are no longer supported.

Contents

Indices and tables