A better way to create a Django/Jinja template