I am trying to count the number of users in my event name field. But I am facing problems in django-rest-framework filtering. I tried different logic ...
I am trying to count the number of users in my event name field. But I am facing problems in django-rest-framework filtering. I tried different logic ...
We are having too many models which are related, While returning queryset serializing the data is too slow(serializer.data). Below are our models and ...
In the Django REST Framework Tutorial quickstart, views are added to the default router: My project layout is I include the stuffs application i ...
Are there ability to Ordering result with djangorestframework-filters ComplexFilterBackend from URL? DRF OrderingFilter is not worked with standart e ...
I found out that the line from rest_framework.filters import SearchFilter generates me an error as I used that as below: previously it was worki ...
i want to learn django. My first learning project is a django + rest framework api. i want to get a destination by its airport code. not by pk / id ...
I'm using djangorestframework with mysql database. I have a view that returns a list based on a search query param. I'm using rest_frameworks.filters ...
I was wondering how can I limit the queryset to the data associated with the current user. Here is my view: I would write somethinng like queryset ...
I am trying to access a lesson belonging to a course in my application. When I use the url http://127.0.0.1:8000/courses/1/lessons/1/" the appropriate ...
I have a DRF view-set with a custom permission and filter. In DRF's official docs it says: Permission checks are always run at the very start of t ...
This is my views I know to create serializer class for a single model How can I create serializer class for multiple models insrtance for my abo ...
When I'm trying to use custom filter it's working all the time in local development, but when we deploy to Production (Docker Swarm) We found an issue ...
i have a problem to create a filterset for one of my ModelViewSets to provide filter functionality (incl. all allowed lookups e.g. in, gt, lt, ...) fo ...