Are you using mod_wsgi?
http://modwsgi.readthedocs.io/en/develop/user-guides/reloading-source-code.html
has information on how to have it reload the code.

Antonis Christofides
+30-2118000592 (work)
+30-6979924665 (mobile)

On 2017-03-13 15:25, Thiago Parolin wrote:
> We have a small webserver that is used by many projects (php) from many users.
> Now, i am hosting a django project.
>
> The problem is:
>  - when user changed some file in his project, the apache continues serving
> old file until restart the httpd service.
>  - the users don't have sudo access, and i don't want to give this power to 
> them.
>
> How can i make apache identify changes without restart?
> I never had this problem with php before, and i am totally new to django...
> Sorry if this question is more about apache than django.
> Thanks.
> -- 
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@googlegroups.com>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACTnJ00E8bUSWxW_9-VrDb_ikfJ_tzSXWgrq431OWGhsvd8gkg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACTnJ00E8bUSWxW_9-VrDb_ikfJ_tzSXWgrq431OWGhsvd8gkg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6e308892-7128-32cd-4bf3-abd2f16a98e6%40itia.ntua.gr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to