how django discovers changed sources

Jeff jeffober at gmail.com
Thu Jan 17 14:59:44 EST 2008


On Jan 17, 2:51 pm, "Guilherme Polo" <ggp... at gmail.com> wrote:
> 2008/1/17, alf <a... at me.xs4all.nl>:> Jeff wrote:
> > > That is the behavior of the development server.  When you are writing
> > > your application, you don't want to have to manually restart the
> > > server every time you change a file.  On apache it obviously doesn't
> > > do that.
>
> > thx for clarification, but still I am curious how it is done under the
> > hood. it really impressed me ...
> > --
> >http://mail.python.org/mailman/listinfo/python-list
>
> It checks if modification time on registered files have changed since last check
>
> --
> -- Guilherme H. Polo Goncalves

django.utils.autoreload provides the functionality.



More information about the Python-list mailing list