Re: Performance / Memory/CPU Usage of A Django App with 10,000+ Models in a High Traffic Site

2008-01-13 Thread Brian Rosner
Please direct questions of this nature to the django-users mailing list. This list is meant for the development of Django and not the usage of Django. Thanks! -- Brian Rosner http://oebfare.com --~--~-~--~~~---~--~~ You received this message because you are

Performance / Memory/CPU Usage of A Django App with 10,000+ Models in a High Traffic Site

2008-01-13 Thread Sebastian
Hi, I'm developing a large webapp using django. One of my requirements is that it needs to be able to handle 10,000+ different entities or models that need to be associated with a user. A single user have needs to be able to to associate himself with any of the existing models and have one

Re: Feature Request: "Abstract Model"

2008-01-13 Thread Wanrong Lin
Hi, Marc, This is great news. I am glad I have not re-written all my models with all those duplicated stuff (I am sure that wouldn't make me feel I am following the "DRY" principle). Is it possible to give any prediction when this great stuff will be checked in? Thanks a lot. Wanrong Marc

Re: Feature Request: "Abstract Model"

2008-01-13 Thread Marc Fargas
Hi Wanrong, Maybe you could live with something like: class common(models.Model): ... Meta: create_db_schema = False class Model_B(models.Model): ... Meta:

Re: pre-setting variables in templates

2008-01-13 Thread Niels
> but the following, in my opinion better version, is not supported: > > 2)      {{ foo="hello world" }}  or  {{ bar=77 }} > James correctly pointed out this is an intentional limitation. However, if you really want to, you can do things like {% with "hello world" as foo %} {{ foo }} {% endwith