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
Supported Django versions:
Django 1.6
Django 1.7
Django 1.8
Supported django CMS versions:
django CMS 3.x
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
Features
Support for changefreq and priority customisation per-page
Values are cached
django CMS toolbar integration
History
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
File details
Details for the file djangocms-page-sitemap-0.2.0.tar.gz
.
File metadata
- Download URL: djangocms-page-sitemap-0.2.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dae239a269293ddff354fcb09efb7ed791b235a568bf73cb54f0e762e1c8f61d |
|
MD5 | 6ad6ff581d09a75d55f229cdd14a9486 |
|
BLAKE2b-256 | 2cae0bdecd3889aac5ba1d39bb85d7a96e6bb9f954f83827b388f1b7f0a064f9 |
File details
Details for the file djangocms_page_sitemap-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: djangocms_page_sitemap-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 701f01ec37a1cfc75b97b0ccf8fe0117540664c673cb79336f7517e1b40c6c58 |
|
MD5 | 5be8ecbe842e72caf7dc276c6cf544db |
|
BLAKE2b-256 | ca760a1452e75bcbb9cdf9961e7623183d85ff6551486c42efd466045cb11716 |