2008-8-10

23:55 deric
i have some regression since a recent trunk checkout that the development server is really slow when reloading
23:56 rozwell
grigora: which is roughly the same as the snippet Magus- linked you to, but you can't pass it a list of templates to try as you can render_to_response
23:56 deric
anyone experience anything familiar?
23:56 rozwell
deric: no
23:56 toddobryan
Magus: trying to limit choices in a ForeignKey field.
23:56 grigora
rozwell && Magus-: thanks
23:56 Khromu
hello I need some help with sites framework
23:56 jinzo senses m2m need.
23:56 Khromu
can someone please help me
23:56 rozwell
Khromu: just ask your question
23:56 jinzo
Khromu, don't ask to ask, just ask.
23:57 tue
Magus-: , rozwell: Okay, This is what i want to do and i understand why it does not work (title blocks are in same namespace or what its called). But im interested in the /right/ way to do something like that, i mean, the box.html file may be very complicated and i certainly dont want to write that many times in the index.html.... http://dpaste.com/70589/
23:57 grigora
rozwell: why would you want to pass a list of templates vs just one?
23:57 Khromu
I have an application with I want to deploy where my client will have a domain: client_name.myapp.com
23:58 Khromu
i could use virtualhost and multiple settings files but since i plan to have many account I guess that would be a problem with the memory
23:58 rozwell
grigora: most-specific to less-specific templates usually
23:59 Khromu
what is the sugest aproach to handle this?
23:59 grigora
rozwell: i'll have to think about that ...
23:59 rozwell
grigora: the auth app (used to) make use of this feature to give you nice hooks to override things for specific models/sections
23:59 toddobryan
My first thought is to provide an __init__ method for the form and set the field.queryset explicitly, but I want to make sure I'm not missing something else obvious.
23:59 Khromu
10000 settings files with multiple virtualhost on apache or something else?
23:59 rozwell
toddobryan: that's what i normally do
23:59 rozwell
Khromu: well the sites framework is only really useful if you want to use the same database for multiple projects
23:59 grigora
Magus-: what would be a good place put your render_response wrapper? views.py?
Page 29 of 29   ← Previous  (2,824 total)