Re: capfirst and title template filters

2006-11-15 Thread Gary Wilson
Gary Wilson wrote: > So why the special cases? Should we keep the filters consistent with > their str methods? > title -> str.title() I did realize an example where the title filter's implementation would be desired. When you've got a possessive noun: >>> Template("{{ text|title }}").render(Con

capfirst and title template filters

2006-11-15 Thread Gary Wilson
Is there a reason why the capfirst and title template filters don't simply use the capitalize() and title() str methods? The difference with capfirst is that it capitalizes the first character without touching the others >>> Template("{{ name|capfirst }}").render(Context({"name": "DOLORES"})) 'DO

Re: Re: How do i run just 1 test module?

2006-11-15 Thread Russell Keith-Magee
On 11/14/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote: > > BTW, for Russ: the testing framework is amazing, it changed completely > how I go about designing models for my own apps. Thanks for that! I'm > looking forward to the fixtures support. Cheers - I'm glad I could help. As for the fixtur

Re: why not a http server like mongrel?

2006-11-15 Thread comechao
Yeah. i understand. I'm using django with fastcgi, nice and easy. thanks Jacob Kaplan-Moss wrote: > On 11/14/06 6:23 AM, comechao wrote: > > Why not create a server like mongrel for Django? > > Go for it - we'll wait... > > No, seriously -- the main reason is that Django doesn't need it. Djang

Re: File upload streaming bytes

2006-11-15 Thread [EMAIL PROTECTED]
adam wrote: > I have a full-fledged Django application. I have a small function of > this application that needs to receive partial files. I'm looking for > direction on how best to implement this in Django (or in python in > general). > > I want to create a handler that allows me to receive the

admin-interface issues

2006-11-15 Thread patrickk
here are some issues concerning styles/layout and a couple of general issues. some of the mentioned problems might be more important than others - I just wanted to give a very personal list of what I´ve noticed: HTML/CSS: ### booleanfields are displayed different than any other fields - the

File upload streaming bytes

2006-11-15 Thread adam
I have a full-fledged Django application. I have a small function of this application that needs to receive partial files. I'm looking for direction on how best to implement this in Django (or in python in general). I want to create a handler that allows me to receive the first 1k of data from a

Re: Importing models across multiple projects

2006-11-15 Thread Ivan Sagalaev
Casey Marshall wrote: > I am faced with a situation where I really need to be able to import > models from multiple Django projects. We have many projects that stand > well enough alone on their own with their own supporting > infrastructure. The projects we need to develop now need to work with

Importing models across multiple projects

2006-11-15 Thread Casey Marshall
I am faced with a situation where I really need to be able to import models from multiple Django projects. We have many projects that stand well enough alone on their own with their own supporting infrastructure. The projects we need to develop now need to work with data across several of these

Re: proposal: list_related_links

2006-11-15 Thread va:patrick.kranzlmueller
Am 15.11.2006 um 17:38 schrieb Adrian Holovaty: > > On 11/15/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> > wrote: >> within a change-list, there is always one item which links to the >> change-form. >> what about having additional links to related objects? >> >> change-list example: >> ID

Re: Branch Merges?

2006-11-15 Thread Aidas Bendoraitis
Thanks for explanation, Jeremy. Regards, Aidas Bendoraitis [aka Archatas] On 11/15/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On 11/15/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote: > > > > I am just curious, what the status of per-object-permissions branch > > is. Today I noticed that

Re: Branch Merges?

2006-11-15 Thread Jeremy Dunck
On 11/15/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote: > > I am just curious, what the status of per-object-permissions branch > is. Today I noticed that the most recent revision number of that > branch matches the revision number of trunk. Does that mean, that the > per-object-permissions bran

Re: Branch Merges?

2006-11-15 Thread Aidas Bendoraitis
I am just curious, what the status of per-object-permissions branch is. Today I noticed that the most recent revision number of that branch matches the revision number of trunk. Does that mean, that the per-object-permissions branch is up to date with the trunk? What is still missing in that branc

Re: proposal: list_related_links

2006-11-15 Thread Adrian Holovaty
On 11/15/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote: > within a change-list, there is always one item which links to the > change-form. > what about having additional links to related objects? > > change-list example: > ID (not linked) > name (link to change-form) > item (not linked) >

Re: proposal: list_related_links

2006-11-15 Thread Aidas Bendoraitis
+1 for such a possibility. I think, you should edit somewhere around django/db/models/options.py and django/contrib/admin. Regards, Aidas Bendoraitis [aka Archatas] On 11/15/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote: > > within a change-list, there is always one item which links

Re: why not a http server like mongrel?

2006-11-15 Thread James Crasta
On 11/14/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On 11/14/06 6:41 PM, shaunc wrote: > > One reason (in my opinion) for an effort on a server would be to use > > non-blocking i/o. You'd want to also use non-blocking i/o on the > > database side as well. Has anyone thought about that fo

proposal: list_related_links

2006-11-15 Thread va:patrick.kranzlmueller
within a change-list, there is always one item which links to the change-form. what about having additional links to related objects? change-list example: ID (not linked) name (link to change-form) item (not linked) user (link to the users change-form) ... this could probably be achieved