Re: ticket 3511 backwards incompatible

2007-12-11 Thread Gary Wilson
Peter Baumgartner wrote: > http://code.djangoproject.com/ticket/3511 broke some code I had that > caught AssertionError in the past. Seems like it should be listed on > http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges done. Thanks, Gary --~--~-~--~~~--

ticket 3511 backwards incompatible

2007-12-11 Thread Peter Baumgartner
http://code.djangoproject.com/ticket/3511 broke some code I had that caught AssertionError in the past. Seems like it should be listed on http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges -- Pete --~--~-~--~~~---~--~~ You received this message becau

Re: Better Support for static file serving via django

2007-12-11 Thread Robert Coup
On 12/12/2007, Mike Scott <[EMAIL PROTECTED]> wrote: > I've been looking at how to better serve my static files for django sites, > and I'm particularly interested in things like Javascript handling. > > For example if we were to look at RoR, they have their include tags which can > automaticall

Re: Better Support for static file serving via django

2007-12-11 Thread [EMAIL PROTECTED]
It sounds like you're actually proposing two things here. 1) Using Django to serve static files. There already exists a mechanism for Django to accomplish this during development, detailed here: http://www.djangoproject.com/documentation/static_files/ , although it's not a good idea to use this

Re: Better Support for static file serving via django

2007-12-11 Thread Collin Grady
Mike Scott said the following: > Is this an approach the bulk of the Django community are interested in > taking or is it something that we should leave to the things that do it > best, ie: Apache and the like. -1 to handling media through Django, that's the job of the webserver :) -- Collin Gr

Re: #5894 patch provided, anything else I need to do

2007-12-11 Thread Todd O'Bryan
Use __file__ to get the path to the test code and then access the file using a relative path. Todd On Dec 11, 2007 1:09 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I've gone ahead and created these tests: http://dpaste.com/27680/ I'm > not sure whether this will work though, since if yo

Better Support for static file serving via django

2007-12-11 Thread Mike Scott
Hey All, I've been looking at how to better serve my static files for django sites, and I'm particularly interested in things like Javascript handling. For example if we were to look at RoR, they have their include tags which can automatically compile javascript into one big file, compressing and

[ANN] beanstalkd 0.5

2007-12-11 Thread kr
I'm happy to announce the release of beanstalkd 0.5. This is the very first public release. In the future I'll confine release announcements to the beanstalk mailing list. WHAT IS BEANSTALKD? --- Beanstalkd is a fast, distributed, in-memory workqueue service. Its interface is g

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread Ian Kelly
On Dec 11, 2007 10:20 AM, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > > 2007/12/11, Ian Kelly <[EMAIL PROTECTED]>: > > On Dec 11, 2007 4:16 AM, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > > > Semantics of COUNT require counting all non-NULL values and some more > > > naive databases might actual

Re: Django 1.0 features -- the definitive list

2007-12-11 Thread Rob Hudson
Would it be too much to start thinking about marketing for the 1.0 release? By marketing, I mean, screencasts, t-shirts, coffee mugs. Possibly a not-for-profit entity to pipe whatever proceeds or donations through to help support Django coding, or have paid bounties, etc. IIRC, some of these thi

The book

2007-12-11 Thread raminf
Printed copy of Django book arrived yesterday. Looks great. As much as I enjoyed reading the chapters online, it's nice to be able to take the hardcopy out to a coffee shop. Also makes for a good primer for colleagues. Congratulations to Adrian, Jacob, and the rest of the Django crew. --~--~-

i18n and per-view-cache

2007-12-11 Thread Antoni Aloy
Hello, I re-post a question made to the django-users, I tried there first, but I think is more development related. I'm trying to use a the per view cache decorator cache_page, but I have a multi-languaje site so the cache engine must generate its key based on the page language. Using cache_page

Re: Changing label style in some widgets RE: 4860

2007-12-11 Thread [EMAIL PROTECTED]
From http://www.w3.org/TR/html4/interact/forms.html#edef-LABEL "for: This attribute explicitly associates the label being defined with another control. When present, the value of this attribute must be the same as the value of the id attribute of some other control in the same document. When absen

Re: #5894 patch provided, anything else I need to do

2007-12-11 Thread [EMAIL PROTECTED]
I've gone ahead and created these tests: http://dpaste.com/27680/ I'm not sure whether this will work though, since if you don't have your django in /home/alex/django_src/ all the tests will fail. On Dec 11, 10:48 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Whoops, I found the tests, how

Re: Django weekly updates?

2007-12-11 Thread Rob Hudson
On 12/11/07, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > If you parse it with a true XML parser then the content gets unescaped > on delivery. Then feed it to Python's BeautifulSoup to do anything > else. I'm using ElementTree to parse the RSS and you're right about the unescaping. Thanks! --~

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread [EMAIL PROTECTED]
I'm not sure if you're correct that Postgres substitutes it, as I've noticed a definite speedup doing count(1) versus count(*) on large datasets. -Eric Florenzano On Dec 11, 11:20 am, "Patryk Zawadzki" <[EMAIL PROTECTED]> wrote: > 2007/12/11, Ian Kelly <[EMAIL PROTECTED]>: > > > On Dec 11, 2007

Re: Django weekly updates?

2007-12-11 Thread Patryk Zawadzki
2007/12/11, Rob Hudson <[EMAIL PROTECTED]>: > On 12/11/07, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > > Why not use > > http://code.djangoproject.com/timeline?ticket=on&max=50&daysback=90&format=rss > > ? > > I am actually. But I did just realize the description fields has the > full details o

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread Patryk Zawadzki
2007/12/11, Ian Kelly <[EMAIL PROTECTED]>: > On Dec 11, 2007 4:16 AM, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > > Semantics of COUNT require counting all non-NULL values and some more > > naive databases might actually try to fetch all the columns while 1 > > comes from DUAL and requires no act

Re: Django weekly updates?

2007-12-11 Thread Rob Hudson
On 12/11/07, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > Why not use > http://code.djangoproject.com/timeline?ticket=on&max=50&daysback=90&format=rss > ? I am actually. But I did just realize the description fields has the full details of the comment. The description field would require a bit

Re: Django weekly updates?

2007-12-11 Thread Patryk Zawadzki
2007/12/11, Rob Hudson <[EMAIL PROTECTED]>: > > On 12/11/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > Looks like a good start. If you can sort out the details of how to > > manage this as a group effort and get a regular publication rhythm > > going, I'll poke Jacob and Adrian and see wh

Re: Django weekly updates?

2007-12-11 Thread Rob Hudson
On 12/11/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > Looks like a good start. If you can sort out the details of how to > manage this as a group effort and get a regular publication rhythm > going, I'll poke Jacob and Adrian and see what we can do. Great. Thanks. I did ask Jacob if it

Re: #5894 patch provided, anything else I need to do

2007-12-11 Thread [EMAIL PROTECTED]
Whoops, I found the tests, however I am still a little unclear since it requires interaction with the filefield, which would be different on every system. On Dec 11, 10:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Ok, I have just added docs, however I am a little confused on tests, I >

Re: #5894 patch provided, anything else I need to do

2007-12-11 Thread Karen Tracey
On Dec 11, 2007 11:31 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Ok, I have just added docs, however I am a little confused on tests, I > couldn't seem to find any tests for either newforms or oldforms in the > tests folder. > Looks like field testing is done here: http://code.djangopr

Re: #5894 patch provided, anything else I need to do

2007-12-11 Thread [EMAIL PROTECTED]
Ok, I have just added docs, however I am a little confused on tests, I couldn't seem to find any tests for either newforms or oldforms in the tests folder. On Dec 11, 4:25 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 12/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > On

Re: ModelForm.__init__() argument signature versus other newforms forms

2007-12-11 Thread Brian Rosner
On Dec 11, 2:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello Guys, > > I am following this post about ModelForm and I am still puzzled on how > this new class can address the dynamic generation of a form. I would > like to see how it is possible to do it with this new API. > > Let

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread Ian Kelly
On Dec 11, 2007 4:16 AM, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > > 2007/12/11, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > On Tue, 2007-12-11 at 11:28 +0100, Patryk Zawadzki wrote: > > > 2007/12/11, Ben Walton <[EMAIL PROTECTED]>: > > > > > > > > I was just inspecting a couple of queries my a

** I HAVE EARNED $7,469 in ONE MONTH **NO INVESTMENT**

2007-12-11 Thread CAMILA
** I HAVE EARNED $7,469 in ONE MONTH **NO INVESTMENT** **BUSINESS TIPS** **ONLINE JOBS ** **MAKE MONEY FRM HOME** **JOBS IN ABROAD** **FOR MORE INFORMATION www.onlinejob.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: ModelForm.__init__() argument signature versus other newforms forms

2007-12-11 Thread Malcolm Tredinnick
On Mon, 2007-12-10 at 20:56 -0600, Joseph Kocherhans wrote: > On 12/9/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > > OK, so after chatting a bit with Joseph on IRC I'm working on revising > > my original patch. The changes it makes still need some discussion, so > > I'll outline them here.

Re: Ticket #399 (BigIntegerField patch)

2007-12-11 Thread Thomas Güttler
Am Montag, 10. Dezember 2007 05:31 schrieb Aaron Krill: > Hello, > > I recently commented on ticket #399 regarding why the check-in of this > patch should not be delayed, and I would like permission to please > change the status of this ticket back to "Ready for check-in." This > field is very imp

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread Patryk Zawadzki
2007/12/11, Malcolm Tredinnick <[EMAIL PROTECTED]>: > On Tue, 2007-12-11 at 11:28 +0100, Patryk Zawadzki wrote: > > 2007/12/11, Ben Walton <[EMAIL PROTECTED]>: > > > > > > I was just inspecting a couple of queries my application was > > > outputting. I noticed that a COUNT(*) query was made, follo

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread Malcolm Tredinnick
On Tue, 2007-12-11 at 11:28 +0100, Patryk Zawadzki wrote: > 2007/12/11, Ben Walton <[EMAIL PROTECTED]>: > > > > I was just inspecting a couple of queries my application was > > outputting. I noticed that a COUNT(*) query was made, followed by a > > SELECT later on, as expected, which used the res

Re: Is 'LIMIT 0' a valid query?

2007-12-11 Thread Patryk Zawadzki
2007/12/11, Ben Walton <[EMAIL PROTECTED]>: > > I was just inspecting a couple of queries my application was > outputting. I noticed that a COUNT(*) query was made, followed by a > SELECT later on, as expected, which used the result from COUNT(*) to > LIMIT the queryset to the same results. > > Th

Re: #5894 patch provided, anything else I need to do

2007-12-11 Thread Russell Keith-Magee
On 12/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On ticked #5894 (http://code.djangoproject.com/ticket/5894) I have > supplied a patch, is there anything else that needs to be done to > ensure it moves forward? The ticket already lists two things that are required - documentation and

Re: Django weekly updates?

2007-12-11 Thread Russell Keith-Magee
On 12/11/07, Rob Hudson <[EMAIL PROTECTED]> wrote: > > On 12/8/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > The same is true of a weekly Django update message. There is > > absolutely nothing stopping you from writing a weekly blog message and > > publishing it somewhere. > > I posted a

Is 'LIMIT 0' a valid query?

2007-12-11 Thread Ben Walton
I was just inspecting a couple of queries my application was outputting. I noticed that a COUNT(*) query was made, followed by a SELECT later on, as expected, which used the result from COUNT(*) to LIMIT the queryset to the same results. The COUNT(*) in this case returned 0, and the SELECT which

Re: ModelForm.__init__() argument signature versus other newforms forms

2007-12-11 Thread [EMAIL PROTECTED]
Hello Guys, I am following this post about ModelForm and I am still puzzled on how this new class can address the dynamic generation of a form. I would like to see how it is possible to do it with this new API. Let us imagine that for an Online Survey application : http://yml.alwaysdata.net/ I

Re: Fixing app_label

2007-12-11 Thread Vinay Sajip
On Dec 5, 5:55 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > Howdy folks -- > > I just had a nasty realization here at work: we're gonna need to fix > app_label pretty damn quick. The good news is that this means we'll > get to fix this problem on work time; the bad news is that I'm total