diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-28 17:35:13 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-28 17:35:13 +0100 |
| commit | 0c82b1dfc48b4870e8fbcfb782ae02cdca821e1f (patch) | |
| tree | 3c8825b2883c688c5a8987d60199e0dcaba93c73 /docs/ref | |
| parent | cf304691649fbe3b0d7f8e9396358be9df62430f (diff) | |
Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.
Thanks tomas_00 for the report.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 9ab19846f6..9a0f3ca7f8 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -142,6 +142,13 @@ subclass:: e.g. if all the dates are in one month, it'll show the day-level drill-down only. + .. note:: + + ``date_hierarchy`` uses :meth:`QuerySet.datetimes() + <django.db.models.query.QuerySet.datetimes>` internally. Please refer + to its documentation for some caveats when time zone support is + enabled (:setting:`USE_TZ = True <USE_TZ>`). + .. attribute:: ModelAdmin.exclude This attribute, if given, should be a list of field names to exclude from |
