From 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 Mon Sep 17 00:00:00 2001 From: Ed Henderson Date: Thu, 2 Jun 2016 12:56:13 -0700 Subject: Fixed #26021 -- Applied hanging indentation to docs. --- docs/topics/db/queries.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/topics/db') diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 771c2136dc..b0d04a659c 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -849,14 +849,16 @@ precede the definition of any keyword arguments. For example:: Poll.objects.get( Q(pub_date=date(2005, 5, 2)) | Q(pub_date=date(2005, 5, 6)), - question__startswith='Who') + question__startswith='Who', + ) ... would be a valid query, equivalent to the previous example; but:: # INVALID QUERY Poll.objects.get( question__startswith='Who', - Q(pub_date=date(2005, 5, 2)) | Q(pub_date=date(2005, 5, 6))) + Q(pub_date=date(2005, 5, 2)) | Q(pub_date=date(2005, 5, 6)) + ) ... would not be valid. -- cgit v1.3