app/django/contrib/gis/tests/geoapp/sitemaps.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 28 Jun 2009 22:12:33 +0200
changeset 2441 a24b2b4af87d
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added .settings to hgignore. Eclipse IDE uses this map to store some settings. Since this is widely used I decided to add it to the ignore list.

from django.contrib.gis.sitemaps import GeoRSSSitemap, KMLSitemap, KMZSitemap
from models import City, Country
from feeds import feed_dict

sitemaps = {'kml' : KMLSitemap([City, Country]),
            'kmz' : KMZSitemap([City, Country]),
            'georss' : GeoRSSSitemap(feed_dict),
            }