/django-model-subquery

Get model instances back from your subqueries

Primary LanguagePythonMIT LicenseMIT

django-model-subquery

Get model instances back from your subqueries

Read the origin story on my blog.

Test project

This repository comes with a test project to show off some of the capabilities.

To install it, use the [testproject] extra requirement (preferrably in a virtualenv):

pip install -e .[testproject]

Then you can run the project's test suite:

cd testproject && python manage.py test