Friday, February 26, 2021

django-querysetsequence 0.14 released!

django-querysetsequence 0.14 has been released with support for Django 3.2 (and Python 3.9). django-querysetsequence is a Django package for treating multiple QuerySet instances as a single QuerySet, this can be useful for treating similar models as a single model. The QuerySetSequence class supports much of the API …

read more →
Thursday, February 4, 2016

Combining Disparate QuerySets in Django

Note: This was originally posted on the Strongarm Blog.

While refactoring strongarm.io we ran into a problem: we had different database tables that we needed to query over as if they were a single database table. We use Django as an ORM and needed to stay within the ORM …

read more →