#24616: date_hierarchy with USE_TZ=True won't work with Amazon RDS
-------------------------------------+-------------------------------------
Reporter: iiilx | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
pytz,mysql_tzinfo_to_sql,USE_TZ |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* component: Uncategorized => contrib.admin
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
Some sort of toggle to disable `date_hierarchy` for an `AdminSite` (or
globally) could be an option. I guess we already have this through the
ability to override the admin template. Would overriding the template and
making `{% block date_hierarchy %}` an empty block fix the issue? If so,
should we document it as a solution?
--
Ticket URL: <https://code.djangoproject.com/ticket/24616#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.6c116e7bc0a1299e1e0bdb69301e8aea%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.