app/django/contrib/gis/tests/geoapp/sitemaps.py
author James Levy <jamesalexanderlevy@gmail.com>
Sun, 28 Jun 2009 13:18:56 +0200
changeset 2430 c9a5bf5ed3c5
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added SurveyRecordGroup for the use in evaluation surveys. Patch by: James Levy, Daniel Diniz Reviewed by: Lennard de Rijk

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