Opened 17 years ago
Last modified 11 months ago
#6489 new New feature
Add selected and enabled_from for JS calendar
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | markus.magnuson@…, Ülgen Sarıkavak | Triage Stage: | Someday/Maybe |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Pull Requests: | How to create a pull request | ||
Description ¶
Add two parameters to the JS calendar class: highlighting a
selected date, and disabling dates before a specified one.
According to the ticket's flags, the next step(s) to move this issue forward are:
Unknown. The Someday/Maybe triage stage is used to keep track of high-level ideas or long term feature requests.
It could be an issue that's blocked until a future version of Django (if so, Keywords will contain that version number). It could also be an enhancement request that we might consider adding someday to the framework if an excellent patch is submitted.
If you're interested in contributing to the issue, raising your ideas on the Django Forum would be a great place to start.
Change History (14)
by , 17 years ago
Attachment: | 0017-Add-selected-and-enabled_from-for-JS-calendar.patch added |
---|
comment:1 by , 17 years ago
Component: | Uncategorized → Admin interface |
---|
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Someday/Maybe |
---|
comment:3 by , 14 years ago
Type: | → New feature |
---|
comment:4 by , 14 years ago
Severity: | → Normal |
---|
comment:7 by , 10 years ago
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?
comment:8 by , 10 years ago
Cc: | added |
---|
comment:9 by , 10 years ago
From a quick look at the patch, it's not obvious to me what the purpose of it is. Could someone explain?
comment:10 by , 10 years ago
It is about disabling all dates before the passed date in the calendar, so that you can only select that date or later.
comment:11 by , 10 years ago
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.
comment:12 by , 6 years ago
Patch needs improvement: | set |
---|
comment:13 by , 11 months ago
Cc: | added |
---|
We generally don't make incremental UI changes. At some point in the future we'll sit down and revisit the admin's UI, so we should look at this ticket then.