mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.
Thanks tomas_00 for the report.
This commit is contained in:
parent
cf30469164
commit
0c82b1dfc4
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue