summaryrefslogtreecommitdiff
path: root/docs/topics/db
diff options
context:
space:
mode:
authorEd Henderson <ed@sharpertool.com>2016-06-02 12:56:13 -0700
committerTim Graham <timograham@gmail.com>2016-06-03 11:49:24 -0400
commit521772ff0779ced13f94a6ebcd96740a9eafbb1d (patch)
tree4acdfd2f0514a599ca50d32dc43f22bb944d8c80 /docs/topics/db
parent971adb9e9ceaf50ecfa72db1b357bb38150048ea (diff)
[1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
Diffstat (limited to 'docs/topics/db')
-rw-r--r--docs/topics/db/queries.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 57408ee224..b1f1f2f746 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.