mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed hanging indentation in various code.
This commit is contained in:
parent
aeb8c38178
commit
362813d628
40 changed files with 266 additions and 232 deletions
|
@ -283,9 +283,10 @@ class NonAggregateAnnotationTestCase(TestCase):
|
|||
|
||||
def test_annotation_reverse_m2m(self):
|
||||
books = Book.objects.annotate(
|
||||
store_name=F('store__name')).filter(
|
||||
name='Practical Django Projects').order_by(
|
||||
'store_name')
|
||||
store_name=F('store__name'),
|
||||
).filter(
|
||||
name='Practical Django Projects',
|
||||
).order_by('store_name')
|
||||
|
||||
self.assertQuerysetEqual(
|
||||
books, [
|
||||
|
@ -497,7 +498,8 @@ class NonAggregateAnnotationTestCase(TestCase):
|
|||
F('ticker_name'),
|
||||
F('description'),
|
||||
Value('No Tag'),
|
||||
function='COALESCE')
|
||||
function='COALESCE',
|
||||
)
|
||||
).annotate(
|
||||
tagline_lower=Lower(F('tagline'), output_field=CharField())
|
||||
).order_by('name')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue