Re: Permissions don't get translated in admin interface

2022-09-24 Thread Sarah Baidoo
Thanks On Sat, Sep 24, 2022, 22:28 Danilov Maxim wrote: > Hi, Tribaud. > > > > In your case you can override Permission admin to show translated names of > permissions and for widgets you can override modelchoiceiterator > > The name of permission you can translate like model.verbose_name + > ge

RE: Permissions don't get translated in admin interface

2022-09-24 Thread Danilov Maxim
Hi, Tribaud. In your case you can override Permission admin to show translated names of permissions and for widgets you can override modelchoiceiterator The name of permission you can translate like model.verbose_name + gettext( β€˜can’) + gettext(view/change/delete) and it should be translate

Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-09-24 Thread Adam Taylor
Following the advice of David Sanders and Mariusz Felisiak, I'm coming here with my proposal rather than continuing on with the ticket system (see ticket #34035 ). I understand the reluctance to make this change. However, things change with web brows

Proposal: cacheif template tag

2022-09-24 Thread Igor Margitich
Hi django-developers, I would like to propose new template tag `cacheif`. Could be useful when you need to cache part of html and it depends on some condition. Template tag is similar to built-in `cache` tag but accepts extra boolean parameter. See example: {% cacheif user.is_anonymous 10 home

Revisiting multiline template tags in Django Templates (again)

2022-09-24 Thread Thibaud Colas
πŸ‘‹ Hi django-developers, I would like to revisit a very old feature request: ticket #8652 Multiline tags and tag escape tags , proposed DEP Multiline Template Tags , and maling list thread Revisiting multiline tag

Solutions for ticket #31506

2022-09-24 Thread David Sanders
Hi folks, Ticket 31506 is an older ticket that I thought I'd look into – there are a couple of points of discussion I thought I'd run past folks before offering a PR. To summarise the issue: On Postgres when you add or subtract an interval with a dat

Permissions don't get translated in admin interface

2022-09-24 Thread Thibaud Colas
πŸ‘‹ there have been a lot of discussions and tickets opened on permissions translations in the past. I’m not sure what the etiquette here is, hence why I’m starting a new conversation. I would like to see #1688 Permissions don't get translated in admin interface