rotate_token via test client in 1.7a2

2014-03-16 Thread Val Neekman
Just wondering if CSRF token should be also rotated when accessed via unittest client. Middleware is in place and rotation happens via a browser. Bug or intended behaviour, or perhaps a misuse ? # Example self.client = Client(enforce_csrf_checks=True) resp = self.client.g

Re: Add support for get_or_none?

2014-03-16 Thread Cal Leeming [Simplicity Media Ltd]
Still waiting for other people to chime in on this thread, but so far I'm not seeing any argument against the explained logic for having `.get_or_none()`. Comments appear to be more regarding how not to do it, rather than not doing it at all. Ultimately this either needs someone to find a flaw in

Re: [GSoC] Switching to Jinja2 proposal

2014-03-16 Thread Christopher Medrela
Hello! I'm sorry for such long time without any feedback. Unfortunately, I'm not going to send Django proposal. My original plan was to send two proposals: one for Django and one for Breeze (Scala numerical processing library) but I lack time and I will focus on Breeze. Therefore, I won't have eno

Re: [GSoC 2014 proposal]. Improving admin translation and formalizing Meta objects.

2014-03-16 Thread Алексей Сидаш
P.S. Ooops, looks like I forgot about this: > MediaWiki has a well evolved and mature translation system that deals with > a very large range of languages, and I think it would be worthwhile to > check out how they do it there in detail. > Great thanks, I will check it out. -- You received

Re: [GSoC 2014 proposal]. Improving admin translation and formalizing Meta objects.

2014-03-16 Thread Алексей Сидаш
Hello, > I believe that there is a better solution than requiring that all strings > be retranslated for every new app that you create, it's just not as trivial > as the naive solution that Django currently uses. > Yes, retranslatiog all the strings every time does not seem to be a good idea.