Skip to content

Conversation

991jo
Copy link
Contributor

@991jo 991jo commented Oct 3, 2025

Fixes: #20488

@jeremystretch jeremystretch requested review from a team and arthanson and removed request for a team October 7, 2025 12:29
Copy link
Collaborator

@arthanson arthanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@991jo can you please provide an example for this, also lower in the file under Scheduled Jobs the example there does enqueue with instance=self and not derived from JobsMixin which either the example is wrong or the wording here is not clear - can you please take a look.

Also, here is a bit reworded description that might be a bit clearer?

A Job can be executed for a specific instance of a Model. To enable this functionality, the model must include the JobsMixin.

When enqueuing a Job, you can associate it with a particular instance by passing that instance to the instance parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mention, that the JobsMixin is required for running jobs on a model instance

2 participants