[Django] #23767: Add setting to toggle timezone warnings in Django admin (1.7+)

14 views
Skip to first unread message

Django

unread,
Nov 5, 2014, 8:37:43 PM11/5/14
to django-...@googlegroups.com
#23767: Add setting to toggle timezone warnings in Django admin (1.7+)
-------------------------------+--------------------
Reporter: fangsterr | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------
Starting with Django 1.7, the admin interface automatically displays a
warning if the browser timezone differs from the server timezone
(https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js#L63).
However, there are cases, especially with TimeFields, where the time is
not stored based on server time, so it doesn't make sense to show the
warning in those cases.

Easy request:
It'd be nice to have a setting that toggles the entire warning display
on/off.

Harder request:
Per-field parameter to specify whether or not to display warning or not.

--
Ticket URL: <https://code.djangoproject.com/ticket/23767>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 7, 2014, 4:54:41 AM11/7/14
to django-...@googlegroups.com
#23767: Add setting to toggle timezone warnings in Django admin (1.7+)
-------------------------------+--------------------------------------
Reporter: fangsterr | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* needs_better_patch: => 0
* resolution: => wontfix
* needs_tests: => 0
* needs_docs: => 0


Comment:

You should be able to accomplish this with custom CSS. I believe that's a
clean solution.

--
Ticket URL: <https://code.djangoproject.com/ticket/23767#comment:1>

Reply all
Reply to author
Forward
0 new messages