I recently ran into a situation helping someone figure out how to execute a Python script and display the contents within a Django template. While his initial thought was to embed the entire script as Python code in an HTML template, a more elegant solution would be to simply run the script server-side and display the results using AJAX.
12 November 2011
Subscribe to:
Posts (Atom)