Ticket #13101: 13101-queries.diff

File 13101-queries.diff, 693 bytes (added by David Fischer, 14 years ago)

Updated the attached file with Russell's proposal

  • docs/faq/models.txt

    2828parameter quoting.  Parameter quoting is performed by the database-specific
    2929backend, and not all backends provide a way to retrieve the SQL after quoting.
     31.. versionadded:: 1.2
     33If you are using :ref:`multiple databases<topics-db-multi-db>`, you can see the
     34queries using the alias of the database::
     36    >>> from django.db import connections
     37    >>> connections['my_db_alias'].queries
    3139Can I use Django with a pre-existing database?
Back to Top