how django discovers changed sources

alf ask at me
Thu Jan 17 15:36:19 EST 2008


Jeff wrote:
> 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.

thx for the reference,

Andy



More information about the Python-list mailing list