Ticket #12805: doc_patch.diff

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

Patch that fixes the docs

  • docs/topics/db/sql.txt

     
    3737
    3838You could then execute custom SQL like so::
    3939
    40     >>> Person.objects.raw('SELECT * from myapp_person')
     40    >>> list(Person.objects.raw('SELECT * from myapp_person'))
    4141    [<Person: John Doe>, <Person: Jane Doe>, ...]
    4242
    4343.. admonition:: Model table names
Back to Top