Re: [Django] #6489: Add selected and enabled_from for JS calendar

17 views
Skip to first unread message

Django

unread,
Jun 5, 2015, 6:24:39 AM6/5/15
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by giuliettamasina):

So apparently the `selected` part of this was already implemented at some
point, would it make sense to implement the `enabled_from` part as well?

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

Django

unread,
Jun 5, 2015, 11:16:23 AM6/5/15
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by giuliettamasina):

* cc: markus.magnuson@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:8>

Django

unread,
Aug 6, 2015, 7:31:43 PM8/6/15
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by timgraham):

From a quick look at the patch, it's not obvious to me what the purpose of
it is. Could someone explain?

--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:9>

Django

unread,
Aug 7, 2015, 3:08:23 PM8/7/15
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by giuliettamasina):

It is about disabling all dates before the current date in the calendar,
so that you can only select today or later.

--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:10>

Django

unread,
Aug 7, 2015, 3:23:23 PM8/7/15
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by timgraham):

I see. Maybe `disableDatesBefore` would be a better name? How is it used
from Django though? It seems like you need a custom `calendar.js` file to
pass the value for that field.

--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:11>

Django

unread,
Jan 9, 2019, 4:41:32 PM1/9/19
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Collin Anderson):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:12>

Django

unread,
Mar 12, 2024, 10:01:52 AM3/12/24
to django-...@googlegroups.com
#6489: Add selected and enabled_from for JS calendar
-------------------------------------+-------------------------------------
Reporter: Bastian Kleineidam | Owner: nobody
<calvin@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ülgen Sarıkavak):

* cc: Ülgen Sarıkavak (added)

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