Re: consistency in date-based generic views

2008-04-23 Thread Malcolm Tredinnick
On Wed, 2008-04-23 at 21:24 -0700, PJ wrote: > > .archive_index templates get 'latest' ; all the others get > 'object_list' > If template_object_name is set to 'foo', > > .archive_index templates get 'foo'; all the others get 'foo_list' You can pass in template_object_name='foo_list' to archi

consistency in date-based generic views

2008-04-23 Thread PJ
.archive_index templates get 'latest' ; all the others get 'object_list' If template_object_name is set to 'foo', .archive_index templates get 'foo'; all the others get 'foo_list' .archive_index and .archive_year templates get a 'date_list'; why don't .archive_month and .archive_day ? This al

Model Inheritance in qsrf and User?

2008-04-23 Thread Rob Hudson
I don't know if this should go to devs or users but I wanted to ask... Now that queryset-refactor has implemented model inheritance (and will soon be in trunk), will the recommended way to tie in new columns to contrib.auth.models.User change? For example, if we want to add in profile informatio

Re: values_list instead of valueslist

2008-04-23 Thread Malcolm Tredinnick
On Wed, 2008-04-23 at 16:35 -0700, mtrier wrote: > This is a small thing but I was encouraged to mention it since we > still have an opportunity to make the change before Queryset Refactor > gets merged. It seems to me that values_list would be more consistent > with things like select_related o

values_list instead of valueslist

2008-04-23 Thread mtrier
This is a small thing but I was encouraged to mention it since we still have an opportunity to make the change before Queryset Refactor gets merged. It seems to me that values_list would be more consistent with things like select_related or order_by. Yeah, it's a small thing, but what the heck.

Re: Newforms fields and widgets

2008-04-23 Thread Russell Keith-Magee
On Wed, Apr 23, 2008 at 10:44 PM, Antares <[EMAIL PROTECTED]> wrote: > > Hello, > I'm developing a custom admin zone named eadmin, and I hope one day > becomes good enough to be part of django. I'm not sure if this group > is the right place, or maybe I should post into django-users. As I'm >

Re: SVN Milestones

2008-04-23 Thread John Szakmeister
On Wed, Apr 23, 2008 at 6:58 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: [snip] Thanks for answers to the questions Malcolm! > > I don't have a lot of time to > > spend (and I'm sure that's true of many folks working on Django), but > > when I do spend it, I want to make sure it's getti

Re: SVN Milestones

2008-04-23 Thread ydjango
That would be a good first step - Clearly defining what 1.0 means and how do we know we got there when we get there. and defining roadmap from current pre-beta stage to 1.0. what is there on wiki currently is outdated and not well thought of and not clear. Thanks Malcom for taking the lead. tha

Re: [GSoC] Aggregate Support to the ORM

2008-04-23 Thread Malcolm Tredinnick
On Wed, 2008-04-23 at 07:50 -0700, Eratothene wrote: > It looks that API lacks support for SQL HAVING clause, this one should > be distinct from filter, GROUP BY without HAVING is often useless. > > Consider adding it to api (something like > Model.objects.aggregate(height__sum).having(sex='M'))

Re: [GSoC] Aggregate Support to the ORM

2008-04-23 Thread Eratothene
It looks that API lacks support for SQL HAVING clause, this one should be distinct from filter, GROUP BY without HAVING is often useless. Consider adding it to api (something like Model.objects.aggregate(height__sum).having(sex='M')) Also do not forget to add HAVING clause to .extra() method.

Newforms fields and widgets

2008-04-23 Thread Antares
Hello, I'm developing a custom admin zone named eadmin, and I hope one day becomes good enough to be part of django. I'm not sure if this group is the right place, or maybe I should post into django-users. As I'm developing using django core features I think this is the right place. I have a form

Re: SVN Milestones

2008-04-23 Thread Kenneth Gonsalves
this is third time this post has come - is it me or something else? On 23-Apr-08, at 4:28 PM, Malcolm Tredinnick wrote: > > > On Wed, 2008-04-23 at 03:40 -0700, [EMAIL PROTECTED] wrote: >> On Apr 16, 7:56 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: >>> We have one. Its called 1.0 and the more

Re: SVN Milestones

2008-04-23 Thread Malcolm Tredinnick
On Wed, 2008-04-23 at 03:40 -0700, [EMAIL PROTECTED] wrote: > On Apr 16, 7:56 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > > We have one. Its called 1.0 and the more you contribute, the closer you get > > ;) > > No offense, but where is that milestone documented? Adrian chimed in > with what

Re: SVN Milestones

2008-04-23 Thread john
On Apr 16, 7:56 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > We have one. Its called 1.0 and the more you contribute, the closer you get > ;) No offense, but where is that milestone documented? Adrian chimed in with what he thinks is left for a 1.0 beta, but I can't find anything on the site