-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #18531.
- Loading branch information
Showing
9 changed files
with
18 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,4 @@ | |||
# Geo-enabled Sitemap classes. | # Geo-enabled Sitemap classes. | ||
from django.contrib.gis.sitemaps.georss import GeoRSSSitemap | |||
from django.contrib.gis.sitemaps.kml import KMLSitemap, KMZSitemap | from django.contrib.gis.sitemaps.kml import KMLSitemap, KMZSitemap | ||
|
|
||
__all__ = ['GeoRSSSitemap', 'KMLSitemap', 'KMZSitemap'] | __all__ = ['KMLSitemap', 'KMZSitemap'] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,10 +1,8 @@ | |||
from django.contrib.gis.sitemaps import GeoRSSSitemap, KMLSitemap, KMZSitemap | from django.contrib.gis.sitemaps import KMLSitemap, KMZSitemap | ||
|
|
||
from .feeds import feed_dict | |||
from .models import City, Country | from .models import City, Country | ||
|
|
||
|
|
||
sitemaps = {'kml': KMLSitemap([City, Country]), | sitemaps = {'kml': KMLSitemap([City, Country]), | ||
'kmz': KMZSitemap([City, Country]), | 'kmz': KMZSitemap([City, Country]), | ||
'georss': GeoRSSSitemap(feed_dict), | |||
} | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters