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

lookups not limited according to field type #100

Open
sennierer opened this issue Jul 22, 2020 · 0 comments
Open

lookups not limited according to field type #100

sennierer opened this issue Jul 22, 2020 · 0 comments

Comments

@sennierer
Copy link

I might be doing something wrong but currently url-filter is creating all available lookups for all fields when I use the ModelFilterSet

e.g. for CharField I get __gte, __year and so on and so forth.

I am now overwriting the fields in order to limit the lookup, but I guess url-filter should normally do that out of the box?

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

1 participant