Tagged: django-rest-framework
In this post, we will explore solving the n+1 problem using caching. The tools used are Django ORM with which makes the problem becomes common, and the Cachalot library. Writing systems at a start-up...
The requirement is to build a simple OR condition query string filter using django-filter. Since there is no standardization of the format, I have used a query string which looks like ?value=v1|v2|v3 Here’s a...
Due to some design decisions in Django Rest Framework, the request.user is not available in the middleware request layer but only the views layer. Which means any extensible middlewares that you can think of...