Skip to content

Conversation

@mbi
Copy link
Contributor

@mbi mbi commented Oct 14, 2025

If a Task was deleted but the corresponding scheduled Job was not removed, we end up with a bunch of "ValueError" jobs, accessing their detail page to delete them raises an Exception.

image

This PR prevents raising an exception, so that the jobs can be safely deleted.

@cclauss
Copy link
Contributor

cclauss commented Oct 14, 2025

The pre-commit error was resolved in:

@cunla
Copy link
Member

cunla commented Oct 15, 2025

Can you write test(s) for this?

@cunla cunla merged commit 579d1e9 into django-commons:master Oct 16, 2025
19 checks passed
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.

3 participants