TypeError when accessing RQ job details in the admin

Teklia Bot
2025-04-16T15:09:35Z

Sentry Issue: [ARKINDEX-BACKEND-2MM](https://teklia.sentry.io/issues/6531477907/?referrer=gitlab_integration) ``` TypeError: EnumType.__call__() missing 1 required positional argument: 'value' (28 additional frame(s) were not displayed)...

Sentry Issue: ARKINDEX-BACKEND-2MM

TypeError: EnumType.__call__() missing 1 required positional argument: 'value'
(28 additional frame(s) were not displayed)
...
  File "django/template/base.py", line 961, in render_annotated
    return self.render(context)
  File "django/template/base.py", line 1059, in render
    output = self.filter_expression.resolve(context)
  File "django/template/base.py", line 710, in resolve
    obj = self.var.resolve(context)
  File "django/template/base.py", line 842, in resolve
    value = self._resolve_lookup(context)
  File "django/template/base.py", line 909, in _resolve_lookup
    current = current()

Upstream bug: https://github.com/rq/django-rq/issues/678

This is only fixed within django-rq 3.x, which depends on rq 2.x, which has breaking changes.