Re: Benchmarking 1.5 vs 1.6

2013-09-16 Thread Anssi Kääriäinen
I did some investigation to query_iterator, and most of the slowdown is caused by functools.wraps. When used in nested context @wraps seems to be really slow. For example, try this with and without @wraps: http://pastebin.com/5ejAKuKd Should we care about this slowdown? Can we do without @wraps

Re: AbstractUser to get more abstract

2013-09-16 Thread James Pic
Why not just override the username class attribute in your subclass ? by None or even something which returns instance.email. In reality I have no idea, some of my users are using their email address as usernames and it's not a problem for django, so anything project-specific would sound a little

Re: AbstractUser to get more abstract

2013-09-16 Thread tanderegg
Hey folks - I took a crack at implementing this, please check out my comment here (which contains a link to the branch in my fork): https://code.djangoproject.com/ticket/20824#comment:4 Let me know if I missed anything! Tim On Friday, September 13, 2013 1:03:23 AM UTC-4, Aaron Merriam wrote: >