diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-09-08 11:00:04 -0400 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-09-08 11:00:04 -0400 |
| commit | e69348b4e7f07ef927edaecc7126901fc91c79d0 (patch) | |
| tree | e3bf89867455ee918f69245a3d4c7be5535ad155 /docs/faq | |
| parent | b7d3b057f32ed6aa7ee0941e1f0dec9d3e9223a3 (diff) | |
Avoided mixing dates and datetimes in the examples.
Refs #16023.
Diffstat (limited to 'docs/faq')
| -rw-r--r-- | docs/faq/models.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/faq/models.txt b/docs/faq/models.txt index 4a83aa9f2c..69965b66e1 100644 --- a/docs/faq/models.txt +++ b/docs/faq/models.txt @@ -11,7 +11,7 @@ Then, just do this:: >>> from django.db import connection >>> connection.queries - [{'sql': 'SELECT polls_polls.id,polls_polls.question,polls_polls.pub_date FROM polls_polls', + [{'sql': 'SELECT polls_polls.id, polls_polls.question, polls_polls.pub_date FROM polls_polls', 'time': '0.002'}] ``connection.queries`` is only available if :setting:`DEBUG` is ``True``. |
