/django/contrib/gis/tests/geoapp/sitemaps.py
Python | 8 lines | 7 code | 1 blank | 0 comment | 0 complexity | 7c51a55f6437eb40ca5b7fad21ed7534 MD5 | raw file
Possible License(s): BSD-3-Clause
1from django.contrib.gis.sitemaps import GeoRSSSitemap, KMLSitemap, KMZSitemap 2from models import City, Country 3from feeds import feed_dict 4 5sitemaps = {'kml' : KMLSitemap([City, Country]), 6 'kmz' : KMZSitemap([City, Country]), 7 'georss' : GeoRSSSitemap(feed_dict), 8 }