Skip to content

Add type stubs for django-filter #14539

Closed

Description

@huynguyengl99

django-filter is a popular Django library for filtering querysets but lacks type stubs in typeshed.

Package: django-filter v25.1.*
Repository: https://github.com/carltongibson/django-filter/

Adding stubs would provide better IDE support and type checking for the Django community.

Activity

  1. donbarbos commented on Aug 6, 2025

    @donbarbos
    Contributor

    Great idea!
    Maybe it's worth opening an issue in django-filters repository to push the idea of adding types directly to the packge (which is preferable). Sorry, but I just haven't found such an issue, it would be nice if someone shared a link to the discussions of adding types to the package itself

    EDIT: I found PR carltongibson/django-filter#1585 and judging by the latest messages this idea may be feasible

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions