Re: Ticket #14007: Automatically discover models within a package without using the app_label Meta attribute

2010-07-30 Thread Mark Sandstrom
Hi Jacob, Rajeev pinpointed the use case. The company I work for has a large bit of infrastructure built around Django. Our main project consists of 6 apps, each of which has a defined role (with respect to the other apps). One of our apps has quite a few models and quite a bit a logic around thos

Re: Filebrowser functionality in contrib?

2010-07-30 Thread Tobias McNulty
On Fri, Jul 30, 2010 at 1:54 AM, shacker wrote: > ... except that it's not working just fine (because of this dependency > on Grappelli). That sounds like a problem with the 3rd party app, not something that would be resolved by incorporating it in Django proper. That said, as Russell suggests,

Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Vito
On 29 jul, 20:29, Russell Keith-Magee wrote: > ... > Russ Magee %-) Just a tip from an absolute beginner: Google since the beginning of the app engine gave support to Django, today, after about two years, Django still does not support GAE. How is it possible that after so long even the Dja

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jacob Kaplan-Moss
Hi Vito -- First, can you please do us all a favor and stop starting new threads? If you'll just reply to the existing threads it's much easier for everyone to track what's going on. On Fri, Jul 30, 2010 at 12:01 PM, Vito wrote: > Google since the beginning of the app engine gave support to Djan

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Brian O'Connor
> > Vito, I know you're trying to help, but at this point your coming > across with a strong tone of entitlement, and you're chastising us > without actually having contributed anything concrete. If you really > want to help, then contribute. > I have to agree with Jacob here (not that my opinion

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jacob Kaplan-Moss
On Fri, Jul 30, 2010 at 12:36 PM, Jacob Kaplan-Moss wrote: > Django has a bunch of part time engineers and no budget. That should have read *volunteers* -- the point is that not a single person gets paid to work on Django. Jacob -- You received this message because you are subscribed to the Go

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Vito
Sorry for changing the title and starting new threads, remember that I am a beginner. I do not speak English, the translation is done by a software, so please interpret the best way. Do not mean to annoy anyone, on the contrary, I am very happy to be exchanging words with some major developers of

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Hooshyar Naraghi
On Fri, Jul 30, 2010 at 10:36 AM, Jacob Kaplan-Moss wrote: > On Fri, Jul 30, 2010 at 12:01 PM, Vito wrote: > > Google since the beginning of the app engine gave support to Django, > > today, after about two years, Django still does not support GAE. > > Vito, I know you're trying to help, but at t

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Mark Bucciarelli
On Fri, Jul 30, 2010 at 4:13 PM, Hooshyar Naraghi wrote: > > anyone who wishes to take _this_ Django and fork > it into a _new_ Dmango, can do it any time? > The devs here _extremely_ patient with whiners [1]. m [1] People with lots of ideas about how you should spend your free time, and spend

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jerome Leclanche
[2] People who do have ideas and do write code, but still get rejected because their ideas don't conform to whatever the core devs need in their websites. See? It works both ways. Nice job scaring that poor guy who was just trying to be helpful. His first post is met with so much hostility and el

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jacob Kaplan-Moss
On Fri, Jul 30, 2010 at 3:39 PM, Mark Bucciarelli wrote: > The devs here _extremely_ patient with whiners [1]. > > m > > [1] People with lots of ideas about how you should > spend your free time, and spend hours writing emails > trying to convince you how smart they are, but can't > be bothered to

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jacob Kaplan-Moss
On Fri, Jul 30, 2010 at 3:57 PM, Jerome Leclanche wrote: > Nice job scaring that poor guy who was just trying to be helpful. His > first post is met with so much hostility and elitism, I can't imagine > being him right now. Could you please quote where you felt I was "hostile" or "elitist"? Priva

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Matt Boersma
On Fri, Jul 30, 2010 at 2:57 PM, Jerome Leclanche wrote: > [2] People who do have ideas and do write code, but still get rejected > because their ideas don't conform to whatever the core devs need in > their websites. I don't think that's a fair criticism at all. > ... > Nice job scaring that po

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jerome Leclanche
You were not, but most of the followup answers were definitely hostile, especially after the guy apologized and explained his situation. I've no beef with the developers, but the general tone of this mailing list has turned extremely sore over the months. J. Leclanche On Fri, Jul 30, 2010 at 10

Re: Django, The Web Framework for perfectionists and innovative with rechargeable batteries.

2010-07-30 Thread Jerome Leclanche
> Ignoring language and newbie barriers, it was not a django-dev post, > and clearly had no spark of idea.  I think jacob and others are > extremely fair and tolerant in moderating this list. > I agree, it should have been posted on django-users. But (this subject came up before) it could just as

Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread OverKrik
Hi, I've been profiling Django to see how much overhead is being added by ORM, and found a very strange case of memory usage(which is either some kind of bug or me misunderstanding low level stuff) - as long as I have 0 to 3 fields of any type - memory usage is around 45MB ( I create list of 100 00

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread OverKrik
Just to clarify, I am talking about model fields :) class U(models.Model): name = models.TextField(max_length = 255, blank = False) name2 = models.TextField(max_length = 255, blank = False) name3 = models.TextField(max_length = 255, blank = False) #name4 = models.TextField(max_len

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread Jacob Kaplan-Moss
On Fri, Jul 30, 2010 at 5:59 PM, OverKrik wrote: > Hi, I've been profiling Django to see how much overhead is being added > by ORM, and found a very strange case of memory usage(which is either > some kind of bug or me misunderstanding low level stuff) - as long as > I have 0 to 3 fields of any ty

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread OverKrik
Oh, and I am using latest Django svn but can reproduce this with 1.1 too On Jul 31, 3:17 am, Jacob Kaplan-Moss wrote: > On Fri, Jul 30, 2010 at 5:59 PM, OverKrik wrote: > > Hi, I've been profiling Django to see how much overhead is being added > > by ORM, and found a very strange case of memory

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread Alex Gaynor
This isn't something django can help, it has to do with the overallocation patterns for python dicts. You would see this for any pytho obj with the right number of fields. Alex On Jul 30, 2010 7:17 PM, "Jacob Kaplan-Moss" wrote: On Fri, Jul 30, 2010 at 5:59 PM, OverKrik wrote: > Hi, I've been

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread OverKrik
Hi, I am using "mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1" on Ubuntu 10.04 but I am not using database for this tests and not syncdb'ing my models (I know, this sounds wrong, but after syncdb nothing changes and I was making sure it's not because of database).

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread OverKrik
Thx Alex, should I post minimal testapp just to make sure? I really tried triggering this with my own classes, but had no luck even with pretty complex ones. On Jul 31, 3:50 am, Alex Gaynor wrote: > This isn't something django can help, it has to do with the overallocation > patterns for python d

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread hcarvalhoalves
""" class U(models.Model): name = models.TextField(max_length = 255, blank = False) name2 = models.TextField(max_length = 255, blank = False) name3 = models.TextField(max_length = 255, blank = False) ... data = [U() for x in xrange(10)] """ What is this actually trying to test?