ModelBackend should have a get_anonymous_user method

2011-11-18 Thread Ric
ModelBackend should provide a method to get a fresh instance of AnonymousUser, and use this method to set a new instance of AnonymousUser in django.contrib.auth.get_user and django.contrib.auth.logout i've created a ticket https://code.djangoproject.com/ticket/17254 -- You received this message

Re: ModelBackend should have a get_anonymous_user method

2011-11-18 Thread Simon Meers
Hi Ric, On 18 November 2011 19:53, Ric wrote: > ... > i've created a ticket > https://code.djangoproject.com/ticket/17254 Thank you for your contributions of late. Please note that you don't need to email django-developers when you create a new ticket; we receive notifications through django-upd

Re: Request for review / Multiple time zone support for datetime representation

2011-11-18 Thread Anssi Kääriäinen
On Nov 1, 4:58 pm, Aymeric Augustin wrote: > I'm glad to announce that the time zone support branch is ready for review. I did a simple performance test on PostgreSQL (fetch 1000 objs with datetime field) and could not see any real performance regressions. I did the same for template rendering, a

Re: Request for review / Multiple time zone support for datetime representation

2011-11-18 Thread Aymeric Augustin
Hi Anssi, 2011/11/18 Anssi Kääriäinen > So, at least according to this simple test there is nothing to > worry about performance-wise. > Thanks for the performance tests! They were still on my TODO list. > This part of the documentation raises one question: > """ > Unfortunately, during DST

Thank you!

2011-11-18 Thread Danilo Vidovic
This is the first framework I'm using that doesn't make me feel the urge to hack the framework's code in order to get something done. It just feels natural to extend stuff in the intended way. It took me ten days to learn the basics and build ~80% of a moderately complex project management system.

Re: Request for review / Multiple time zone support for datetime representation

2011-11-18 Thread Anssi Kääriäinen
On Nov 18, 5:31 pm, Aymeric Augustin wrote: > Hi Anssi, > > 2011/11/18 Anssi Kääriäinen > > > So, at least according to this simple test there is nothing to > > worry about performance-wise. > > Thanks for the performance tests! They were still on my TODO list. The tests could be better... It mi

Re: Request for review / Multiple time zone support for datetime representation

2011-11-18 Thread Aymeric Augustin
2011/11/18 Anssi Kääriäinen > My point is that it would be very useful to know you are actually > using aware datetimes internally. Especially when migrating an old > project to use this feature, it is easy to miss some places that do > not use aware datetimes. And you might find it out when you