From 0c82b1dfc48b4870e8fbcfb782ae02cdca821e1f Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Thu, 28 Feb 2013 17:35:13 +0100 Subject: Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions. Thanks tomas_00 for the report. --- docs/ref/contrib/admin/index.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') 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() + ` internally. Please refer + to its documentation for some caveats when time zone support is + enabled (:setting:`USE_TZ = True `). + .. attribute:: ModelAdmin.exclude This attribute, if given, should be a list of field names to exclude from -- cgit v1.3