app/django/contrib/gis/tests/geoapp/sitemaps.py
author Todd Larsen <tlarsen@google.com>
Tue, 04 Nov 2008 02:50:55 +0000
changeset 440 3a60d5e5c14e
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Third-party Javascript that should have been part of r891. Same license as JQuery. Patch by: Todd Larsen

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