Interaction of annotate() and values()

2009-02-07 Thread Russell Keith-Magee
Hi all, I've been working my way through a couple of aggregation tickets, and I've hit a bit of an inconsistency that I think may need to be addressed. The problem lies in the interaction of values() and annotate(), especially as compared to the interaction of extra() and values(). Ordinarily,

Re: Testing framework inflexibilities

2009-02-07 Thread Russell Keith-Magee
On Sat, Feb 7, 2009 at 8:17 PM, Ludvig Ericson wrote: > > Hi, > I realize this topic is in a gray zone between django-users and > django-developers, but I thought it'd be more fitting to post it here. > > I needed to inject things into the session, and I'm not using

Re: Custom FilterSpecs #5833 planned for Django 1.1?

2009-02-07 Thread Alex Gaynor
On Sat, Feb 7, 2009 at 8:27 AM, Ben Gerdemann wrote: > > Hello, > > I'd like to ask what the status of ticked #5833 > http://code.djangoproject.com/ticket/5833 > is. I see that it's listed as a "maybe" feature for 1.1. The patch is > marked "needs improvement," but it's not

Custom date formats and admin

2009-02-07 Thread David Larlet
Hello, Today I tried to handle custom dates formats in admin and there are a couple of issues related to that. First on rendering, AdminDateWidget doesn't inherit from DateTimeInput which seems more logic to me. I eventually update the patch #7656 and it works. Is there any reason against

Testing framework inflexibilities

2009-02-07 Thread Ludvig Ericson
Hi, I realize this topic is in a gray zone between django-users and django-developers, but I thought it'd be more fitting to post it here. I needed to inject things into the session, and I'm not using regular sessions. I have my own session framework*, but the testing framework is rather