Re: Possible improvement to model API

2007-02-10 Thread Karen Tracey
On 2/9/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > However, you have obviously been bitten by a bad error message - I > would suggest that a good course of action would be to raise a ticket > with your specific example so that the error reporting of that part of > the query engine can

Re: Possible improvement to model API

2007-02-10 Thread David Abrahams
"Karen Tracey" <[EMAIL PROTECTED]> writes: > On 2/9/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > However, you have obviously been bitten by a bad error message - I > would suggest that a good course of action would be to raise a ticket > with your specific example so that th

Re: Amendment: Possible improvement to model API

2007-02-10 Thread David Abrahams
"Adrian Holovaty" <[EMAIL PROTECTED]> writes: > On 2/9/07, David Abrahams <[EMAIL PROTECTED]> wrote: >> Entry.objects.filter( >> _.headline.startswith('What') & >> ~(_.pub_date>=datetime.now()) & >> _.pub_date>=datetime(2005, 1, 1)) > > David, > > Looks like you don't like

Re: Possible improvement to model API

2007-02-10 Thread Karen Tracey
On 2/10/07, David Abrahams <[EMAIL PROTECTED]> wrote: > > > "Karen Tracey" <[EMAIL PROTECTED]> > writes: > > The fix for #2348 changes the error from "Unbound local error" to "Type > error: cannot resolve > > keyword [whatever] into field". > > Illustrating just why the current syntax is hard to gi

Ticket resolution question

2007-02-10 Thread Malcolm Tredinnick
Since we've removed the priority field from Trac, we don't really have way to put tickets into a "some day, maybe" sort of state. There are some tickets that are useful to keep track of, but not really in danger of being dealt with in the near future. Mostly these are true enhancement requests or

Re: MS SQL help (Was Re: Moving towards Django 1.0)

2007-02-10 Thread Sean De La Torre
Adrian, A few of us are talking to Chris Beaven about getting a SQL Server support ticket committed (ticket 2358 - http://code.djangoproject.com/ticket/2358). The only thing that is not included in the ticket is SQL Server pagination support (it's a complicated subject). A few of us have been usi

Re: Possible improvement to model API

2007-02-10 Thread David Abrahams
"Karen Tracey" <[EMAIL PROTECTED]> writes: > "Karen Tracey" <[EMAIL PROTECTED]> > writes: > > The fix for #2348 changes the error from "Unbound local error" to "Type > error: cannot > resolve > > keyword [whatever] into field". > > Illustrating just why the current sy

Django Book enhancement

2007-02-10 Thread Andreas Eigenmann
Hi all The book looks already very good. Congratulation! But there are some additional things that would be nice to see in the book. 1. There should be a appendix about Testing like described in the docu http://www.djangoproject.com/documentation/testing/ . (Why is this document not linked in th

Re: Ticket resolution question

2007-02-10 Thread Russell Keith-Magee
On 2/10/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Do we need an "enhancement" resolution, or some other way of saying > "some day, maybe"? The benefit of this is keeping the very low priority > stuff out of the queue of things needing attention. Then we can point > enthusiastic bods at

Re: How do I set up code profiling my application?

2007-02-10 Thread yary
I remember seeing a nice writeup on using nose with django, which is both a test runner and a code coverage tool. I can't find it at the moment, but there's these: http://code.google.com/p/nose-django/ http://code.djangoproject.com/wiki/CookBookTestingTools http://blogs.translucentcode.org/mick/2

Re: Ticket resolution question

2007-02-10 Thread Gary Wilson
On Feb 10, 3:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Do we need an "enhancement" resolution, or some other way of saying > "some day, maybe"? The benefit of this is keeping the very low priority > stuff out of the queue of things needing attention. Then we can point > enthusiastic b

Re: Ticket resolution question

2007-02-10 Thread Honza Král
On 2/11/07, Gary Wilson <[EMAIL PROTECTED]> wrote: > > On Feb 10, 3:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > Do we need an "enhancement" resolution, or some other way of saying > > "some day, maybe"? The benefit of this is keeping the very low priority > > stuff out of the queue o

Re: How do I set up code profiling my application?

2007-02-10 Thread [EMAIL PROTECTED]
check this article: http://www.rkblog.rk.edu.pl/w/p/django-profiling-hotshot-and-kcachegrind/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-d

Re: i18n, _() and doctests

2007-02-10 Thread Russell Keith-Magee
On 2/10/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-02-09 at 23:59 -0600, Adrian Holovaty wrote: > > I'm +1 on that change, despite its backwards incompatibility. It > > doesn't require much brain power to add import statements to code, so > > it wouldn't be a *huge* inconve

Re: Ticket resolution question

2007-02-10 Thread Malcolm Tredinnick
On Sat, 2007-02-10 at 16:07 -0800, Gary Wilson wrote: > On Feb 10, 3:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > Do we need an "enhancement" resolution, or some other way of saying > > "some day, maybe"? The benefit of this is keeping the very low priority > > stuff out of the queue

Re: i18n, _() and doctests

2007-02-10 Thread Malcolm Tredinnick
On Sun, 2007-02-11 at 08:20 +0800, Russell Keith-Magee wrote: > On 2/10/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2007-02-09 at 23:59 -0600, Adrian Holovaty wrote: > > > I'm +1 on that change, despite its backwards incompatibility. It > > > doesn't require much brain power

Re: How do I set up code profiling my application?

2007-02-10 Thread Malcolm Tredinnick
On Sun, 2007-02-11 at 00:15 +, [EMAIL PROTECTED] wrote: > check this article: > http://www.rkblog.rk.edu.pl/w/p/django-profiling-hotshot-and-kcachegrind/ For anybody like me who hadn't heard of this nifty hotshot2callgraph tool: turns out it is part of the kdesdk package (on Linux distros).

Re: Ticket resolution question

2007-02-10 Thread Carlo C8E Miron
2007/2/11, Malcolm Tredinnick <[EMAIL PROTECTED]>: > On Sat, 2007-02-10 at 16:07 -0800, Gary Wilson wrote: > > How about bringing back the milestone field, making it editable only > > by Django committers or something. Then, all the ticket reports could > > be grouped by milestone, and Trac would

Re: triage: Problem for the up-loading of non-ASCII character file name.

2007-02-10 Thread Yasushi Masuda
Makoto, Michael, Gabor, Ivan: In the discussion, I'm getting to think that the definition/policy of the "valid filename (for storage)" may vary for circumstances or fields where individual developer concerns, thus it should be hard to provide the ultimate-flawless way for nomalizing filename. Eve