Graham Dumpleton wrote:
> On May 16, 12:21 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
>> Alex Morega wrote:
>>> On May 15, 2008, at 02:24 , David Zhou wrote:
>>>> Are you restarting the server between module changes?
>>> By default Django does no caching of responses. It's probably what  
>>> Viktor says: the server (mod_python,mod_wsgi, whatever) won't  
>>> automatically reload the python code if you change it. The automatic  
>>> reload behaviour only happens with Django's built-in development server.
>> Not strictly true.  With mod_python there's a directive to control
>> whether apache automatically reloads python code.  You *don't* want to
>> set this on for production code(large performance penalty).
>>
>>          PythonAutoReload On
>>
>> I'm guessingmod_wsgiand others have something similar.
> 
> That option for mod_python does absolutely nothing for Django. This is
> because Django and your application modules for it don't fall into the
> category of modules thats are candidates for reloading.

I didn't believe it so I tested and it seems you're right.

Doh!  That's what I get for misreading docs.

I'm guessing that in "If set to Off, instructs mod_python not to check 
the modification date of the module file." from 
http://www.modpython.org/live/current/doc-html/dir-other-par.html
"module file" referes to a mod_apache module you write using mod python 
and/or the PythonHandler???


Thanks for setting me straight.
-- 
Norman J. Harman Jr.  512 912-5939
Technology Solutions Group, Austin American-Statesman
___________________________________________________________________________
Get out and about this spring with the Statesman! In print and online,
the Statesman has the area's Best Bets and recreation events.
Pick up your copy today or go to statesman.com 24/7.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to