How can you display the results of a script in real-time for a Django 1.4 website?
问题 So after finding out how to display the results of scripts on a Django website, I thought I'd be able to display the likes of live CPU information using SAR however whenever I change my code and refresh the webpage it doesn't load up and constantly looks like it's trying to load the webpage. The only thing I've managed so far is to run the SAR command in a terminal, parse the results to a text file and then print out the text file using import os from django.shortcuts import render def