Miroslav Shubernetskiy
Miroslav Shubernetskiy
you can always overwrite the filterset filter/field to be less strict. making less strong validations seems like could be dangerous
yes thats not currently supported. contributions are welcome though 😄
If you only show the filter values used for filtering, how would the user enter the values? I guess if you use a separate search page for the user to...
> Replace all PK references with str versions of the related object. eg. "player=20" becomes "player = Jack Sprat" That will complicate things. `FilterSet` has no clue that `20` is...
No. What are you trying to do?
example you posted seems to be for specific need. since querysets are not involed there, not sure how a utility would be useful there. Im trying think of a use...
Thanks for the suggestion. Reason why it checks agains a model is because you are using a `ModelFilterSet` which gets the fields from the model definition in order to get...
To use URL filter in Django there is nothing to be done in settings, urlconf, etc. You simply use it directly in the view since in Django `request.GET` is an...
its really up to your view implemention. class based view you can do something like: ```python class MyListView(ListView): model = MyModel queryset = MyModel.objects.all() template_name = 'my_list_template.html' def get_queryset(self): qs...
> My reading then is that the filterset reads the full get request and doesn't rely on any tweaks in URLconf. that is correct. it uses querystrings (the thing after...