[Django] #27466: Date[Time]RangeField postgres not rendering properly

23 views
Skip to first unread message

Django

unread,
Nov 9, 2016, 10:45:25 AM11/9/16
to django-...@googlegroups.com
#27466: Date[Time]RangeField postgres not rendering properly
-------------------------------------+-------------------------------------
Reporter: Adrien | Owner: nobody
Brunet |
Type: Bug | Status: new
Component: | Version: 1.10
contrib.admin | Keywords: forms, admin,
Severity: Normal | jquery, datepicker
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
When using a Date[Time]RangeField in the admin, the rendering is weird, at
least not the expected one.

It's barely usable as is. See screenshot with one datetimeRangeField, one
DateRangeField and a DateTimeField. http://imgur.com/a/6Z12Z

Cheers

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

Django

unread,
Nov 9, 2016, 10:46:05 AM11/9/16
to django-...@googlegroups.com
#27466: Date[Time]RangeField postgres not rendering properly
-------------------------------------+-------------------------------------
Reporter: Adrien Brunet | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: forms, admin, | Triage Stage:
jquery, datepicker | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Adrien Brunet):

* Attachment "Capture du 2016-11-09 16:42:50.png" added.

This is the screenshot (same than the imgur link)

Django

unread,
Nov 9, 2016, 12:19:46 PM11/9/16
to django-...@googlegroups.com
#27466: Use a datepicker widget for Date[Time]RangeField in admin

-------------------------------------+-------------------------------------
Reporter: Adrien Brunet | Owner: nobody
Type: New feature | Status: new

Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: forms, admin, | Triage Stage: Accepted
jquery, datepicker |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted
* type: Bug => New feature


Comment:

It might be possible to use the datepicker widget, however, I'm not sure
it's feasible to do at the moment without giving `contrib.postgres`
"special treatment" in `contrib.admin` (see
[https://github.com/django/django/blob/master/django/contrib/admin/widgets.py
contrib/admin/widgets.py]), which is certainly not ideal.

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

Django

unread,
Dec 8, 2016, 1:50:05 PM12/8/16
to django-...@googlegroups.com
#27466: Use a datepicker widget for Date[Time]RangeField in admin
-------------------------------------+-------------------------------------
Reporter: Adrien Brunet | Owner: prabod
| manuranga rathnayaka
Type: New feature | Status: assigned

Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: forms, admin, | Triage Stage: Accepted
jquery, datepicker |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by prabod manuranga rathnayaka):

* owner: nobody => prabod manuranga rathnayaka
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/27466#comment:2>

Django

unread,
Nov 13, 2023, 11:17:50 AM11/13/23
to django-...@googlegroups.com
#27466: Use a datepicker widget for Date[Time]RangeField in admin
-------------------------------------+-------------------------------------
Reporter: Adrien Brunet | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: forms, admin, | Triage Stage: Accepted
jquery, datepicker |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Tom Carrick):

* cc: Tom Carrick (added)

Django

unread,
Dec 27, 2024, 3:20:05 AM12/27/24
to django-...@googlegroups.com
#27466: Use a datepicker widget for Date[Time]RangeField in admin
-------------------------------------+-------------------------------------
Reporter: Adrien Brunet | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: forms, admin, | Triage Stage: Accepted
jquery, datepicker |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Ülgen Sarıkavak):

* cc: Ülgen Sarıkavak (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/27466#comment:3>

Django

unread,
Nov 5, 2025, 4:11:08 PMNov 5
to django-...@googlegroups.com
#27466: Use a datepicker widget for Date[Time]RangeField in admin
-------------------------------------+-------------------------------------
Reporter: Adrien Brunet | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: forms, admin, | Triage Stage: Accepted
jquery, datepicker |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Terry Smith):

* cc: Terry Smith (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/27466#comment:4>
Reply all
Reply to author
Forward
0 new messages