2.2 release notes

    Warning

    Please remove the old mptt package from your Python site-packages directory before upgrading. The setup.py file will install the django-mptt package as an external dependency!

    Django 1.3 support

    The django CMS 2.2 supports both Django 1.2.5 and Django 1.3.

    You can now give view permissions for django CMS pages to groups and users.

    django-sekizai instead of PluginMedia

    The following methods and properties of cms.plugins_base.CMSPluginBase are affected:

    • cms.plugins_base.CMSPluginBase.get_plugin_media()

    Accessing those attributes or methods will raise a cms.exceptions.Deprecated error.

    The cms.middleware.media.PlaceholderMediaMiddleware middleware was also removed in this process and is therefore no longer required. However you are now required to have the 'sekizai.context_processors.sekizai' context processor in your TEMPLATE_CONTEXT_PROCESSORS setting.

    All templates in must at least contain the and css sekizai namespaces.

    The toolbar no longer hacks itself into responses in the middleware, but rather has to be enabled explicitly using the {% cms_toolbar %} template tag from the cms_tags template tag library in your templates. The template tag should be placed somewhere within the body of the HTML (within <body>...</body>).

    This solves issues people were having with the toolbar showing up in places it shouldn’t have.

    Static files moved to /static/

    The static files (css/javascript/images) were moved from /media/ to /static/ to work with the new django.contrib.staticfiles app in Django 1.3. This means you will have to make sure you serve static files as well as media files on your server.

    Warning

    The django-dbgettext support has been fully dropped in 2.2 in favor of the built-in mechanisms to achieve multilinguality.