2014-03-23 01:31:52 +08:00
|
|
|
from django.contrib.gis.sitemaps import KMLSitemap, KMZSitemap
|
2011-10-18 02:45:22 +08:00
|
|
|
|
|
|
|
from .models import City, Country
|
|
|
|
|
2019-01-03 07:18:19 +08:00
|
|
|
sitemaps = {
|
|
|
|
'kml': KMLSitemap([City, Country]),
|
|
|
|
'kmz': KMZSitemap([City, Country]),
|
|
|
|
}
|