Skip to content

Extending TaskResult model #46

@afshinm

Description

@afshinm

I'm trying to find a way to extend the TaskResult model and add another field to it. I want to add request.user object to the job model in database so that I can query it later in my app.

Is subclassing a correct approach to do this? I'm asking this because subclassing creates another table in the database and then I need to manually sync the status of new model with what django-celery-results create.

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