fix django snippets