Hi Vijay,

Some web app servers will allow you to 'touch' the wrapper file (wsgi.py for
example) which will in turn trigger a restart. Running manage.py in
'runserver' mode will also do this (this is for dev, NOT for production).

But for the most part, production will require you to restart the webapp
service in order to recognise changes (an exception being Apache, which
allows the 'touch' approach).

Hope this helps

Cal

On Wed, Sep 21, 2011 at 5:13 PM, vijaymohan <[email protected]> wrote:

> I am new to django and did't find solution googling. i changed a .py
> file in my app and hit refresh button on web browser but the changes
> are not reflected until i restart the httpd. is there any flag i need
> to set this to happen.
>
> I set PythonAutoReload On in python.conf.
> Changes to template file are reflecting but not the .py files.
>
> Can someone help me ?
>
> Thanks,
> Vijay
>
> --
> 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.
>
>

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