diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2009-05-27 16:21:49 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2009-05-27 16:21:49 +0000 |
| commit | 28380f48ca0507a05b2effe5c5b7f376ba43d9c2 (patch) | |
| tree | 67539901e0edca254f1c39e98bcfb8c15d627f89 /docs | |
| parent | 18feaead043532b8a6de1b2e898c940e6949ec2f (diff) | |
[1.0.X] Fixed #11209 -- Added a note to doc on connection.queries that the logged sql may not inlude parameter quoting.
r10847 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -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? ---------------------------------------------- |
