diff options
author | Karen Tracey <kmtracey@gmail.com> | 2009-05-27 16:20:11 +0000 |
---|---|---|
committer | Karen Tracey <kmtracey@gmail.com> | 2009-05-27 16:20:11 +0000 |
commit | 9b19fd7a76e8c439bfd4c178e6c35735419097a7 (patch) | |
tree | 736fb533edc8f3569c00a482bce9055b32872dd0 | |
parent | bdf33b37daaa7f94b7d760dd5d03f3920d220866 (diff) | |
download | django-9b19fd7a76e8c439bfd4c178e6c35735419097a7.tar.gz |
Fixed #11209 -- Added a note to doc on connection.queries that the logged sql may not inlude parameter quoting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r-- | docs/faq/models.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/faq/models.txt b/docs/faq/models.txt index 822fdc9d77..1272f96f03 100644 --- a/docs/faq/models.txt +++ b/docs/faq/models.txt @@ -22,6 +22,9 @@ 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. Can I use Django with a pre-existing database? ---------------------------------------------- |