Top "Django-filter" questions

For questions concerning the use of the 3rd-party library django-filter.

django-rest-framework filter by date=None

I am using django-rest-framework with django-filter. I need to retrieve a list of Widgets where the date property is None, …

django-rest-framework django-filter
Filter in range of two date fields

I have something like this: class Model(models.Model): start = models.DateTimeField() end = models.DateTimeField() and I want to get …

django django-filter
Django Filter with Pagination

I'm attempting to follow the following tutorial for pagination with django filters, but the tutorial seems to be missing something, …

django django-filter django-pagination
Django-filter with DRF - How to do 'and' when applying multiple values with the same lookup?

This is a slightly simplified example of the filterset I'm using, which I'm using with the DjangoFilterBackend for Django Rest …

python django django-rest-framework django-filter django-filters
And Condition Django Query Using Same Keyword

I have a Django application with a Publication model and a Tag model. Each publication has one or more Tags …

sql django django-filter
Django-Filter and query with an array

I have a simple question: Currently I can do this to get an object from my backend: http://127.0.0.1:8000/api/v1/…

python django api django-rest-framework django-filter
Django Rest Framework filtering calculated model property

Sorry for a newbie question. I have a following model: class WeightSlip(models.Model): grossdate = models.DateTimeField(auto_now=False, …

django django-rest-framework django-filter django-filters
Negation or exclude filter in Django REST Framework

I've used Django REST Framework for quite a while now, but have come across a situation where I need to …

python django django-rest-framework django-filter