xaralis/django-static-sitemaps — pull request #21 by philipn (2014-05-03 20:31:53+00:00)
Title: Fixes for Django 1.5

See https://code.djangoproject.com/ticket/18899 for more information.

Additionally, the Site.objects.. call didn't work for me as written, so
I made it occur in a closure.