/django/contrib/gis/tests/geoapp/sitemaps.py
https://code.google.com/p/mango-py/ · Python · 8 lines · 7 code · 1 blank · 0 comment · 0 complexity · 7c51a55f6437eb40ca5b7fad21ed7534 MD5 · raw file
- 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),
- }