Re: #6845 - model validation DDN

2008-09-25 Thread mrts
Hi Honza, thank you for your work on model validation! What's the status? Getting model validation in (if the powers that be agree) would help to fix a couple of annoying bugs listed below that are present in 1.0. http://code.djangoproject.com/ticket/9039 http://code.djangoproject.com/ticket/888

urlize & leading punctuation

2008-09-25 Thread Norman Harman
Hello, Talking about http.utils.urlize(), I searched the lists and couldn't find any rational behind the use of and choices for LEADING_PUNCTUATION and TRAILING_PUNCTUATION I haven't thought deeply on it, yet, but... Why not use \b (word boundary)? or look ahead for anything that's not a

Re: admin doesn't allow more than one null fk where unique=True

2008-09-25 Thread Ludvig Ericson
On Sep 25, 2008, at 00:14, Karen Tracey wrote: > On Wed, Sep 24, 2008 at 4:49 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED] > > wrote: > > I'll go upload a fix now, the current behavior doesn't make sense, > since the SQL spec says that NULL != NULL, does anyone know if there > are any dbs for which

Re: Nightly builds of ubuntu packages for Django trunk

2008-09-25 Thread Jacob Kaplan-Moss
On Wed, Sep 24, 2008 at 4:07 PM, elliot <[EMAIL PROTECTED]> wrote: > I set up nightly builds of ubuntu packages for Hardy (8.04) and > Intrepid (8.10) of django trunk. Thanks for this. I just read about PPAs and had wanted to set one up myself; awesome that I don't have to any more :) Jacob --~

Re: Denormalisation, magic, and is it really that useful?

2008-09-25 Thread David Cramer
CopiedField sounds a bit off, but otherwise I like the proposed additions. On Thu, Sep 25, 2008 at 8:08 AM, Andrew Godwin <[EMAIL PROTECTED]>wrote: > > David Cramer wrote: > > I would say ignore triggers on the DB level, until they've been > > written in the framework. > > > > Yes, this was essen

Re: Denormalisation, magic, and is it really that useful?

2008-09-25 Thread Andrew Godwin
David Cramer wrote: > I would say ignore triggers on the DB level, until they've been > written in the framework. > Yes, this was essentially my point earlier; triggers would be nice to have from a consistency point of view, but it will be easier and quicker to reimplement them in Python, not

Re: Proposal: django.forms.SafeForm - forms with built in CSRF protection

2008-09-25 Thread Brian Beck
On Sep 25, 2:54 am, Rudolph <[EMAIL PROTECTED]> wrote: > I like Luke's arguments. > > A middleware seems like the right place because CSRF protection is > about requests and responses. CSRF protection is more about POST > requests in generic, with HTML forms being a very common type of POST > requ

list_filter for applications other than admin

2008-09-25 Thread Antonis Christofides
Hi, the title says it all. I have admin-like list_filters in a simple application (http://www.itia.ntua.gr/ahw/works/) that uses generic views. In order to make them I've called internal admin functionality, which is undocumented, breaks between versions, and is hard to fix since you get no relea

Re: Optimizations on templates

2008-09-25 Thread David Cramer
Just use Jinja if you want faster template rendering ;) In all seriousness though, this sounds like an awesome optimization which I think should be fair game for 1.1. On Sep 24, 6:28 pm, Johannes Dollinger <[EMAIL PROTECTED]> wrote: > Am 25.09.2008 um 00:39 schrieb Manuel Saelices: > > > > > It'