Hernan Olivera wrote:
>>> In php when you change the code there is no need to restart the
>>> server, but in j2ee its necessary to recompile everything. how does
>>> that work in django?
>>>       
>
> You can also configure apache to reload de code. There is a setting,
> in httpd.conf:
> MaxRequestsPerChild 1
>
> That do the magic
>   
In addition to that, I also set:
PythonAutoReload On
in the <Location ...></Location> section of httpd.conf

Also, if you have multiple django projects running at the same time, you 
cat set
PythonInterpreter <value>
in your Location section for each project so that django doesn't mix 
requests between projects.
Replace <value> with any unique string.

Ilya

-- 
Ilya Braude
Lead Software Engineer
Drakontas LLC



--~--~---------~--~----~------------~-------~--~----~
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