django-url-filter icon indicating copy to clipboard operation
django-url-filter copied to clipboard

Django URL Filter provides a safe way to filter data via human-friendly URLs.

Results 52 django-url-filter issues
Sort by recently updated
recently updated
newest added

ModelFilterSet._build_filter_from_field: set default_lookups if no lookups are specified by the user.

Hi, for a project that use drf-yasg, i use CallableFilter for model properties that returns queryset. But when doc was generated with drf-yasg, many lookups were generated when I didn't...

bug

Can you help me to create a backend for ElasticSearch? https://elasticsearch-dsl.readthedocs.io/en/6.2.1/ I don't want to use django models

how could I filter a model by the smallest and highest price for example?

Hi, How can I achieve case insensitive filter on my requests? for eg: http://127.0.0.1:8000/api/customers/?in_use=No -- This works http://127.0.0.1:8000/api/customers/?in_use=no -- Does not work because database stored this value as No I...

question

Is there a way possibility to do complex lookups via the url? Suppose I have a model "Car" with a field called "fuel_tank_capacity" that can be null. How can I...

question

It seems that if the decimal in the url is not within the specifications given in the model definition, then the filter fails and returns everything. ``` class Test(models.Model): my_number...

Because I use the filtered queryset for some other issues as well. It would be nice if the distinct could be disabled. By default, the distinct will be active so...

Hi, I have a model with a JSONField which contains an array of strings: ``` class TransferSession(models.Model): ... status = JSONField(default=[], validators=[validate_session_status]) ``` I can use filters like this in...

question