invoked.net

Home | About | RSS

Empty Q() objects in Django

As Django developers know, the ORM uses python **kwargs to specify filtering criterion. From their own documentation, we have the example:

Porygon

For discussion or questions, use the issues page on the companion GitHub repo.

Composing Context Managers in Python

Let’s say you have a custom context manager. Without loss of generality, consider: