Skip to main content

django CMS page extension to handle sitemap customization

Project description

Latest PyPI version Latest Travis CI build status Monthly downloads Test coverage

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-page-sitemap-0.2.0.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

djangocms_page_sitemap-0.2.0-py2.py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page