Top "Django-filters" questions

django date filter gte and lte

I need to find data within a certain set of parameters I am building a small booking system, that lets …

django django-views django-filters
Django Templates First element of a List

I pass a dictionary to my Django Template, Dictionary & Template is like this - lists[listid] = {'name': l.listname, …

python django django-templates django-filters
Django order_by() filter with distinct()

How can I make an order_by like this .... p = Product.objects.filter(vendornumber='403516006')\ .order_by('-created').distinct(…

django django-models django-aggregation django-filters
daterange on a django-filter

I use Django, the Django REST Framework plus django-filters (alex/django-filter). I have a model with the fields start_date …

python django django-rest-framework django-filters
Filtering in django rest framework

In my project I use django rest framework. To filter the results I use django_filters backend. There is my …

python django django-rest-framework django-filters
Django: TemplateSyntaxError, Invalid filter

I'm trying to access a value from a dictionary using a variable, all in an HTML file that follows Django's …

django django-templates django-filters
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
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