Top "Django-filter" questions

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

ImportError: No module named django_filters

I am using Django 1.7.1 and I pip installed django-filters to my virtual env at /.virtualenvs/auction2/lib/python2.7/site-packages$ It …

django django-filter
django rest framework filter

I'm working with API made from Django rest framework, I am trying to make a filter to a JSON This …

python django django-rest-framework django-filter
Django - How to filter by date with Django Rest Framework?

I have some model with a timestamp field: models.py class Event(models.Model): event_type = models.CharField( max_length=100, …

python django rest django-rest-framework django-filter
how to split the string in django template?

i am trying to split the string in template using custom template filter. But i got an error TemplateSyntaxError at /…

django-templates django-filter django-1.5
How to remove spaces from string in django template

How do you remove all spaces from a string value in a django template? For example <a href="www.…

django django-templates spaces django-filter
django-filter use paginations

I'm using the django-filter package to provide a search functionality on my List View. Now I want to add a …

python django pagination django-filter
Django: Filtering a model that contains a field that stores Regex

I have a field that stores REGEX patterns and I'm trying to filter the model that it is in by …

python regex django django-models django-filter
Using custom methods in filter with django-rest-framework

I would like to filter against query params in my REST API - see django docs on this. However, one …

python django django-rest-framework django-filter
How to limit query results with Django Rest filters

I am working on an api built with Django Rest Framework. I have defined several model classes and I have …

python django django-rest-framework django-filter
How do I filter tables with Django generic views?

I am trying to create a table view with pagination, sorting, and filtering, using the most common/standard/recommended approach …

django django-class-based-views django-tables2 django-filter