PageRenderTime 262ms CodeModel.GetById 100ms app.highlight 2ms RepoModel.GetById 159ms app.codeStats 0ms

/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
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            }