title: How to stream the last few lines of a file in Django?
body: <p>For monitoring purposes I'd like to stream the last N lines of a log file into a Django website interface.
  Like displaying the result of a <code>tail -f filename</code> command.</p>
  
  <p>Basically I'd like to do the same as supervisord which alows to logtail a process from its http interface.</p>
  
  <p>Any idea on how to do that?</p>