Re: Dynamically Altering Settings

2008-12-02 Thread Kyle Fox
Yes, we're using mod_wsgi But I'm not sure that approach saves us much because I'd still need to write a WSGI file for every site. (This might be because of my lack of mod_wsgi-fu, but wouldn't I also need a VirtualHost directive for each site, pointing it to the appropriate WSGI file?) Kyle.

Re: Dynamically Altering Settings

2008-12-02 Thread Graham Dumpleton
On Dec 2, 4:28 pm, Kyle Fox <[EMAIL PROTECTED]> wrote: > I needed a way to alter settings at runtime, based on the current > Site.  The method I came up with appears to work, but certainly > doesn't feel elegant and (I'm sure) could use improvement.  I'm going > to share my reasoning behind

Re: Make django debug page simple when develop ajax page(with firebug)

2008-12-02 Thread [EMAIL PROTECTED]
Perhaps a better solution would be to vary based on request.is_ajax(). Alex On Dec 2, 11:37 pm, kernel1983 <[EMAIL PROTECTED]> wrote: > HTML debug page is good when you develop normal web page > > But when you debug ajax based web page with firebug, the HTML debug > page is no good for you. > >