mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.
QuerySet.alias() allows creating reusable aliases for expressions that don't need to be selected but are used for filtering, ordering, or as a part of complex expressions. Thanks Simon Charette for reviews.
This commit is contained in:
committed by
Mariusz Felisiak
parent
88af11c58b
commit
f4ac167119
@@ -574,6 +574,7 @@ class ManagerTest(SimpleTestCase):
|
||||
'filter',
|
||||
'aggregate',
|
||||
'annotate',
|
||||
'alias',
|
||||
'complex_filter',
|
||||
'exclude',
|
||||
'in_bulk',
|
||||
|
||||
Reference in New Issue
Block a user