app/django/contrib/gis/tests/geoapp/sitemaps.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sat, 24 Jan 2009 10:59:28 +0000
changeset 947 67b41a13587a
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Rename soc/request/list/row.html template column class "to" to "for" since the name changed in header template. Patch by: Pawel Solyga Review by: to-be-reviewed

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),
            }