☰
Debian Codegraph
@
3:5.2.17-2
3:5.2.17-1
3:5.2.15-2
/
/
tests
/
gis_tests
/
geoapp
/
sitemaps.py
☽
☼
tests/gis_tests/geoapp/sitemaps.py
code
plain
raw
BSD-3-Clause
Django Software Foundation and individual contributors
debian/copyright
1
from django.contrib.gis.sitemaps import KMLSitemap, KMZSitemap
2
3
from .models import City, Country
4
5
sitemaps = {
6
"kml": KMLSitemap([City, Country]),
7
"kmz": KMZSitemap([City, Country]),
8
}