django CMS page extension to handle sitemap customization
Project description
django CMS page extension to handle sitemap customization
Support Python version:
Python 2.6
Python 2.7
Python 3.3
Python 3.4
Python 3.5
Supported Django versions:
Django 1.6
Django 1.7
Django 1.8
Supported django CMS versions:
django CMS 3.x
Features
Support for changefreq and priority customisation per-page
Option to exclude a page from the Sitemap
Values are cached
django CMS toolbar integration
Quickstart
Install djangocms-page-sitemap:
pip install djangocms-page-sitemap
Add to INSTALLED_APPS with django.contrib.sitemaps:
INSTALLED_APPS = [ ... 'django.contrib.sitemaps', 'djangocms_page_sitemap', ]
Add to the urlconf, eventually removing django CMS sitemap:
from djangocms_page_sitemap.sitemap import ExtendedSitemap urlpatterns = patterns('', ... url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': {'cmspages': ExtendedSitemap}}), )
Upgrading
Since version 0.2 djangocms-page-sitemap ships with migrations both for south and Django 1.7+.
When upgrading you need to fake the migration to avoid errors:
$ python manage.py migrate djangocms_page_meta --fake
History
0.3.0 (2015-10-18)
Add Python 3.5
Add option to exclude page from sitemap
0.2.0 (2015-08-15)
Update to support django CMS 3.1
Drop support for Django 1.4, 1.5
Add support for Django 1.8
0.1.0 (2014-08-26)
Initial version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for djangocms-page-sitemap-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba8013e7ac149b9e52474c8c50db3f1997e43ae58f51c0abf1797e32eb31c54 |
|
MD5 | ceb4006e299604eded117b9e22843940 |
|
BLAKE2b-256 | bb4e08a68b76bb3641e8eba1793609c7c8fcd522161f2a6f194d9d75c0230d35 |
Hashes for djangocms_page_sitemap-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac3dd9fb14565e5000310c64a131fcc19055a1ab209d50d684dacd118b8cbb1 |
|
MD5 | bc54933b4b0e3c99e876e8c8609be2ac |
|
BLAKE2b-256 | 6a8c73ae1b5c633ca10b81a2a6f1fc62abc165d989baaf07701e2dde2ce65a61 |