(Circa end of 2021) Localization issues with input type=date?

2021-09-28 Thread Carlton Gibson
Hi all. There's a PR to add examples using `` for `forms.DateInput`. https://github.com/django/django/pull/14905 Support for HTML5 input types was added a long time back now in #16630 . Back then there were various issues with localisation when **n

Re: (Circa end of 2021) Localization issues with input type=date?

2021-09-28 Thread Tom Carrick
Hi, It's true that the value is required to be in -MM-DD format, but in modern browsers (which I think is what we claim to support now, right?) it will show in the user's localised format. I checked this in Firefox, Chrome, Edge, and they all look good to me - they come with both a date picker

Re: (Circa end of 2021) Localization issues with input type=date?

2021-09-28 Thread אורי
Hi, I'm using a JS datepicker on https://en.speedy.net/ since 2017 and it works fine. It works both in English and Hebrew (which is RTL). I never found a need to use anything native to Django or browsers since the JS datepicker I'm using is great. I can customize the visible date format in each la

optionally show all models in admin per default in DEBUG

2021-09-28 Thread Christian González
Hi again. Maybe this has been discussed before (please tell me). In each and every Django project I start, I need the Django Admin during development to create some model data for testing. And each and every time  I wonder why I have to add the same boilerplate code for every single model in