Re: Admin change list header for languages with grammatical cases

2021-05-21 Thread Maciek Olko
I forgot to mention that my implementation extensively uses gettext context functionality [1]. I am happy to comment on and discuss particular parts of the implementation. The implementation is quite general, it does not limit the use of attributes and contexts to only grammatical cases. I decide

Re: Translation of group permissions

2021-05-21 Thread macie...@gmail.com
Hi, The permissions are stored in the database and don't get translated. Refer: https://code.djangoproject.com/ticket/1688. poniedziałek, 10 maja 2021 o 19:35:38 UTC+2 M Vv napisał(a): > Translation of user permissions is not done. > > [image: gruop trans.PNG] > > How should it go about it? >

Admin change list header for languages with grammatical cases

2021-05-21 Thread Maciek Olko
Admin’s change list headers are “Select {model} to change”, “Select {model} to view” or “Select {model}” (for pop-ups). We inject model’s verbose name in that strings. It renders correct strings for most of the languages, but not for those, which have grammatical cases [1] for nouns. Such languages

Re: Should there be a default lockfile location for SerializeMixin?

2021-05-21 Thread 'Mike Lissner' via Django developers (Contributions to Django itself)
> you will degrade to *worse than single process* speed. I guess this is true in a technical sense, but is it true in a noticeable sense? Yes, having lots of processes vying for a lock isn't great, but I'd be surprised if it adds up to very much. Am I wrong about this? > This would silently de

Re: GSoC Proposal: (Migrations) Adapt schema editors to operate from model states instead of fake rendered models.

2021-05-21 Thread Carlton Gibson
Hi Manav. Welcome aboard! 🙂 On Thursday, 20 May 2021, Manav Agarwal wrote: > Hello everyone, > I am so very thankful to everyone who helped me out with my project idea > and proposal. The proposal is accepted and I will give my best to > accomplish as I have promised. > On Thursday, April 8, 202

Re: making TemplateView.template_name point to a file NOT in the templates directory.

2021-05-21 Thread Sharif Mehedi
Hi Adam, Thank you for taking your time to reply on this. I thought that this problem was really too complicated. And at the time of desperation thought that it was a good idea to ask it in here since people here are more experienced with django internals, even though I knew it was the wrong pl

Re: making TemplateView.template_name point to a file NOT in the templates directory.

2021-05-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

Re: Should there be a default lockfile location for SerializeMixin?

2021-05-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
> 1. Should we tweak the docs to show something like the above, that would > make the solution there easier to just drop in? > I don't think so. Locking is a last resort and ruins performance - if used across your whole test suite you will degrade to *worse than single process* speed. You should i