xaralis/django-static-sitemaps — pull request #10 by fotcorn (2013-04-20 19:56:03+00:00)
Title: replace domain setting with extended url settings

Replaced the setting DOMAIN with URL, which accepts urls without domains (e.g. /media/sitemaps/) in addition to the already supported DOMAIN urls.

I need this to serve sitemaps from another URL than STATIC_URL. With the old DOMAIN setting I had to hard code my domain in settings.py.

This changes should be backward compatible with the DOMAIN setting.