On Apr 30, 4:01 am, "[email protected]"
<[email protected]> wrote:
> it should be already switched on
>
> http://www.modpython.org/live/current/doc-html/dir-other-par.html

That has zero effect in the case of Django.

The automatic reloading in mod_python only applies to handler code
files directly under the control of mod_python. It does not apply to
standard Python module imports taken from sys.path.

Read about the import_module() function in mod_python which implements
its reloading in:

  http://www.modpython.org/live/current/doc-html/pyapi-apmeth.html

Graham

> On Apr 29, 7:14 pm, Kashif Ali <[email protected]> wrote:
>
>
>
>
>
> > Thanks for your response.
>
> > One more question: Is it possible with mod_python?. This is because i am
> > using mod_python currently not WSGI.
>
> > On Thu, Apr 29, 2010 at 9:57 PM, [email protected] <
>
> > [email protected]> wrote:
> > > Sure, with WSGI script reload
>
> > > On Apr 29, 6:51 pm, Kashif Ali <[email protected]> wrote:
> > > > Hi,
>
> > > > Is it possible to refresh changes to apache (webserver) without restart
> > > it?
> > > > Actually i have multiple databases that i need to change while the
> > > webserver
> > > > is running. Is it possible?
>
> > > > Or any other way to accomplish this task? i.e. use multiple databases 
> > > > for
> > > > django application.
>
> > > > Regards,
> > > > Kashif
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > "Django users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > [email protected]<django-users%2bunsubscr...@google
> > >  groups.com>
> > > .
> > > > For more options, visit this group athttp://
> > > groups.google.com/group/django-users?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Django users" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<django-users%2bunsubscr...@google
> > >  groups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/django-users?hl=en.
>
> > --
> > -Kashif
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Django users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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