Code

Ticket #12805: doc_patch.diff

File doc_patch.diff, 461 bytes (added by vbabiy, 4 years ago)

Patch that fixes the docs

Line 
1Index: docs/topics/db/sql.txt
2===================================================================
3--- docs/topics/db/sql.txt      (revision 12394)
4+++ docs/topics/db/sql.txt      (working copy)
5@@ -37,7 +37,7 @@
6 
7 You could then execute custom SQL like so::
8 
9-    >>> Person.objects.raw('SELECT * from myapp_person')
10+    >>> list(Person.objects.raw('SELECT * from myapp_person'))
11     [<Person: John Doe>, <Person: Jane Doe>, ...]
12 
13 .. admonition:: Model table names