Hi. I bumped into a problem with djnago autoreloader (using standard 
runserver command) recently - when i update my views.py file it does not 
reload the server automatically. (while it does, if i update my project's 
settings.py file)
Looking at the code (django/utils/autoreload.py) - i discovered, that it 
watches sys.modules list(dict, actually). And after some debugging i found, 
that my app's views.py never gets into this list.
i am no expert in python, and will appreciate any help in finding answers.
Can anyone please tell me, 
- is it a bug? (or no - updating views.py should not trigger autoreload?)
- how 'settings.py' appeared in the sys.modules?(what code makes it get in 
there) and why 'some_app.views.py' does not?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/SXecMqFIiQYJ.
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