Skip to content

Request based filtering? #149

Closed
Closed
@AndreiPashkin

Description

@AndreiPashkin

The FilterSet may be initialized with an optional request argument. If a request object is passed, then you may access the request during filtering. This allows you to filter by properties on the request, such as the currently logged-in user or the Accepts-Languages header.

http://django-filter.readthedocs.io/en/develop/guide/usage.html?highlight=request#request-based-filtering

It seems like this feature is not supported. I thing it's a good idea to introduce it.

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