#9388: Made month and year selectable in admin calender widget.
-------------------------------------+-------------------------------------
Reporter: Fidel Ramos | Owner:
| ahmadkhalili
Type: New feature | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: admin calendar year | Triage Stage: Accepted
previous next widget ui |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Comment (by Alexander Lazarević):
I just looked at this and the PR seemed to have gotten pretty far. Patch
still works with the current main branch.
[[Image(Screenshot from 2024-01-30 16-45-19.png)]]
Now two years have passed and I'm not sure what was/is blocking this.
- needs tests? The PR includes the following tests (are more needed?):
- test_show_hide_month_picker_widgets
- test_month_picker_selected_class_and_input
- test_month_picker_prev_next_links
- test_show_hide_year_picker_widgets
- test_year_picker_selected_class_and_input
- needs documentation? The PR changed `docs/releases/4.1.txt` to contain:
> Now admin calendar caption is selectable and opens monthlist and
yearlist. now it's easy adding older dates like birthday via admin
calendar widget
- I briefly checked the following docs and the calendar description
seemed to be still in in sync with what the PR would introduce
- intro/tutorial02.txt
- ref/contrib/sitemaps.txt
- ref/models/fields.txt
- ref/settings.txt
- topics/forms/index.txt
- topics/forms/media.txt
- topics/i18n/timezones.txt
- patch needs improvement? As far as I can tell from the PR, every request
or recommendation was integrated?
- decision to use native datepicker instead is still pending?
- decision to use some other datepicker package instead is still pending?
- something else?
--
Ticket URL: <https://code.djangoproject.com/ticket/9388#comment:18>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d5b2979c3-91663067-7969-4602-94fe-a2a71c04e8c3-000000%40eu-central-1.amazonses.com.