Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto define all filters for all fields via Ellipsis #50

Open
PaulSchweizer opened this issue Feb 26, 2021 · 1 comment
Open

Auto define all filters for all fields via Ellipsis #50

PaulSchweizer opened this issue Feb 26, 2021 · 1 comment

Comments

@PaulSchweizer
Copy link

It would be very helpful if we could do something like this, in order to automatically define filters for all fields and all operators:

class UserFilter(BaseFilter):
    class Meta:
        model = User
        fields = [...]

Are there already opinions or solutions for this that I missed?

@art1415926535
Copy link
Owner

It has not yet been implemented and is not planned. PR are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants