How to make Django restart runserver on template change?

When I make a modification in a python source file in my project, Django detects that and restart runserver itself. But when I modify a django template, I have to kill runserver and restart it again : how can I do to have runserver restart automatically on template change ?

Answers


The file will by default be read from disk on every request, so there is no need to restart anything.

There is a caching template loader, but it is disabled by default. See the documentation for more info.


Need Your Help

Accessing services on web sites other than the web start clients own domain?

java java-ee java-web-start

I am working on a web start client in java. I need to connect to other servers than from were the client is downloaded from. I thought I need to sign my jars but this

How to increase php syslog maximum limit of 2048

php debugging logging syslog rsyslog

Is there a simple way to log message greater than 2048 char using syslog? e.g raw response of a curl request.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.