First draft of a Django script to use as a template