diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2011-04-22 12:14:54 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2011-04-22 12:14:54 +0000 |
| commit | 5b0e4e49d4ab5e976fbfdde70c525a13220f3259 (patch) | |
| tree | 5e09c9c9eedefb8b0d815c0214afc09b4db76653 /docs/faq/models.txt | |
| parent | 598032b8c4ec7d642b6223af8569bef81d183385 (diff) | |
Fixed #14091 - be more correct about logging queries in connection.queries.
Thanks to Aymeric Augustin for figuring out how to make this work across
multiple databases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/faq/models.txt')
| -rw-r--r-- | docs/faq/models.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/faq/models.txt b/docs/faq/models.txt index f00d453d88..5911d9f487 100644 --- a/docs/faq/models.txt +++ b/docs/faq/models.txt @@ -22,9 +22,8 @@ of dictionaries in order of query execution. Each dictionary has the following:: ``connection.queries`` includes all SQL statements -- INSERTs, UPDATES, SELECTs, etc. Each time your app hits the database, the query will be recorded. -Note that the raw SQL logged in ``connection.queries`` may not include -parameter quoting. Parameter quoting is performed by the database-specific -backend, and not all backends provide a way to retrieve the SQL after quoting. +Note that the SQL recorded here may be :ref:`incorrectly quoted under SQLite +<sqlite-connection-queries>`. .. versionadded:: 1.2 |
