Re: Potential bug with deletion of abstract models with related attributes

2008-06-02 Thread [EMAIL PROTECTED]
Hi Julien, On Jun 3, 8:18 am, Julien <[EMAIL PROTECTED]> wrote: > Hi Karen, > > I confirm that I get the error both in the admin and in front-end > views. > > Here the example there is a combination of things that makes the > situation a bit complex. Indeed, the 2 abstract models (FileGalleried

Re: Potential bug with deletion of abstract models with related attributes

2008-06-02 Thread Julien
Hi Karen, I confirm that I get the error both in the admin and in front-end views. Here the example there is a combination of things that makes the situation a bit complex. Indeed, the 2 abstract models (FileGalleried and Avatared) both have a reference to a same model (FileGallery). Because

Re: document based database

2008-06-02 Thread Yuri Baburov
Hi Yurii, I will help you if you will start the project. I use python since 2004. I'm definitely lacking easily-distributed and fast document-based DB for python. Couple of comments: Use list comprehensions instead of ruby-blocks for python, they are neat ;) And python has some storages that

Re: document based database

2008-06-02 Thread Yurii Rashkovskii
> Perhaps bedros meant to ask if anyone is working on support in Django > for any "document based" databases. > > strokeDBlooks (to my untrained eye) similar to CouchDB.  You'll find > plenty to read if you do a search for "couchdb django". By the way, I was thinking about StrokeDB clone in

Re: DateField, Database Parameter Types and Jython Backends

2008-06-02 Thread Leo Soto M.
On Tue, May 27, 2008 at 2:50 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Mon, May 26, 2008 at 11:26 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > > dates, times, and datetimes are converted to string _before_ being > > passed to the backend. > > Oops :) > > > b) Pass the backend (or

Re: Potential bug with deletion of abstract models with related attributes

2008-06-02 Thread Karen Tracey
On Mon, Jun 2, 2008 at 4:56 AM, Julien <[EMAIL PROTECTED]> wrote: > > Hi, > > I've identified something that appears to me as a bug. I found a quick > fix, but I'd like to hear from some advised people to know what's the > best way to go, or if I'm simply missing the point. > > You can copy/paste

Re: Aggregation Updates

2008-06-02 Thread Russell Keith-Magee
On Sun, Jun 1, 2008 at 9:04 PM, Nicolas Lara <[EMAIL PROTECTED]> wrote: > > I dont mind changing it to indexes. To me it is more readable with the > list copying/slicing. I might do a bit of profiling for that to see > the efficiency gain or simple change it to indexes. I'll write back > about

Potential bug with deletion of abstract models with related attributes

2008-06-02 Thread Julien
Hi, I've identified something that appears to me as a bug. I found a quick fix, but I'd like to hear from some advised people to know what's the best way to go, or if I'm simply missing the point. You can copy/paste the code from: http://dpaste.com/hold/54289/ Simply put, there are 2 models

Re: Aggregation Updates

2008-06-02 Thread [EMAIL PROTECTED]
Sorry 'bout that :) . I don't think the why of it ultimately matters, code snippet Russell used does the same thing at the SQL-aggregation stuff does, the speed difference should hold. Plus I agree it looks cleaner. On Jun 2, 1:31 am, Ludvig Ericson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP

Re: Aggregation Updates

2008-06-02 Thread Ludvig Ericson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > s = 'abc' > t = s[:] > s is t >> True >> >> I'm willing to be corrected here, but my understanding was that for >> loop iteration was one of those optimization cases. > > It looks like it's an immutable-optimization from my further >