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.
* cc: markus.magnuson@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:8>
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>
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>
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>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/6489#comment:12>