1
0
mirror of https://github.com/django/django.git synced 2024-11-19 16:04:13 +00:00
django/tests/modeltests/get_object_or_404
Anssi Kääriäinen a2396a4c8f Fixed #19173 -- Made EmptyQuerySet a marker class only
The guarantee that no queries will be made when accessing results is
done by new EmptyWhere class which is used for query.where and having.

Thanks to Simon Charette for reviewing and valuable suggestions.
2013-01-06 19:18:28 +02:00
..
__init__.py Fixed #2756 -- Modified the get_object_or_404/get_list_or_404 shortcuts to accept model managers as well as model classes. Thanks, Gary Wilson. 2007-01-03 14:16:58 +00:00
models.py [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
tests.py Fixed #19173 -- Made EmptyQuerySet a marker class only 2013-01-06 19:18:28 +02:00