Skip to content

5.2.3 regression with inference of models with custom Manager / QuerySet #2817

@sobolevn

Description

@sobolevn

Quoting @asottile-sentry from #2784 (comment)

Refs #2784

Quote starts:


I'm seeing a weird error here that I think is related? it seems to not be processing reverse model dependencies correctly?

src/sentry/releases/models.py:34: error: Cannot resolve keyword 'releasecommit' into field. Choices are: author, author_id, commitfilechange, date_added, date_created, id, key, message, organization_id, repository_id  [misc]

also seems to not be processing _id automatic conversion:

src/sentry/users/models/user_option.py:62: error: Cannot resolve keyword 'project' into field. Choices are: id, key, organization_id, project_id, user, user_id, value  [misc]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions