Skip to content

"View as JSON" broken - Object of type Retry is not JSON serializable #717

@RasmusThing

Description

@RasmusThing

Just installed a clean version of the latest django and django-rq.
When trying to use the "View as JSON" function in the admin panel, I'm met with this error:

TypeError at /admin/django-rq/stats.json/

Object of type Retry is not JSON serializable


/usr/local/lib/python3.13/site-packages/django_rq/views.py, line 45, in stats_json
            return JsonResponse(get_statistics())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions