Avoided mixing dates and datetimes in the examples.

Refs #16023.
This commit is contained in:
Aymeric Augustin 2012-09-08 11:00:04 -04:00
parent b7d3b057f3
commit e69348b4e7
8 changed files with 34 additions and 23 deletions

View file

@ -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``.