xaralis/django-static-sitemaps — pull request #7 by gwrtheyrn (2012-11-30 09:15:45+00:00)
Title: Create conf.ROOT_DIR if it doesn't exist

This should fix #6.

I'm not sure whether `os.makedirs` is a good idea (might create bad empty folder trees if there's a typo in `ROOT_DIR`). The alternative would be `os.mkdir` and to raise an exception if the nonexisting folder tree is too deep.