Skip to content

Add support for Django reverse relationships #2071

Description

@MartinBernstorff

Describe the Bug

I'm aware that the docs specify that this is not supported, but it would be awesome to have!

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Activity

  1. added theissue type on Jan 12, 2026
  2. github-actions commented on Jan 29, 2026

    @github-actions

    This issue has someone assigned, but has not had recent activity for more than 2 weeks.

    If you are still working on this issue, please add a comment so everyone knows. Otherwise, please unassign yourself and allow someone else to take over.

    Thank you for your contributions!

  3. asukaminato0721 commented on Jun 6, 2026

    @asukaminato0721
    Collaborator

    claim

  4. MorganBennetDev commented on Oct 7, 2026

    @MorganBennetDev

    Wanted to second the original comment. A good chunk of the errors we've baselined in CourtListener after moving from mypy to pyrefly have been due to losing the Django mypy plugin. The DRF fixes in 1.3 took out a good chunk of our baseline. A lot of the remaing Django-related errors would be fixed by having reverse relationship support across files.

  5. asukaminato0721 commented on Oct 7, 2026

    @asukaminato0721
    Collaborator

    Had some ideas, will make a pr to test it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions