Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

django-cms plugins for django-filer

Project Description

A set of cms plugins that replace the plugins shipped with django-cms with versions that use file fields from django-filer.


Starting with version 1.1.0, support for Python 2.6, Django 1.7 or lower
and django CMS 3.0.x and lower was dropped. Please pin your dependencies
to ``cmsplugin-filer<1.1.0`` for older projects.

Starting with version 0.10 support for django CMS 2.x was dropped
(table renaming magic removal). Pin your dependencies to
``cmsplugin-filer<0.10`` for django-cms 2.x projects.


  • django-filer >= 1.2
  • Django >= 1.8
  • django-cms >= 3.1
  • django-sekizai >= 0.4.2
  • easy_thumbnails >= 1.0
  • django-appconf
  • djangocms-attributes-field


To get started using cmsplugin-filer:

  • install it with pip:

    $ pip install cmsplugin-filer
  • configure django-filer as documented in

  • add the plugins to INSTALLED_APPS:

  • run migrate.

You can also set FILER_IMAGE_USE_ICON in your to configure cmsplugin_filer_image plugin to use 32x32 icons for representing plugin instances.

The default template in cmsplugin_filer_image expects the subject location functionality to be enabled. Follow:

Upgrading to version 1.1

In version 1.1 there are two backward incompatible changes:

Migrations layout

Migrations have been moved back to the standard location. cmsplugin_filer related MIGRATION_MODULE setting items must be removed for cmsplugin_filer 1.1 to work

Removal of ThumbnailOption model

ThumbnailOption has been moved to filer (since filer 1.2). You must update your models and migrations referencing ThumbnailOption for this to work.

Upgrade process involves updating your models and migrations.


    from filer.models import ThumbnailOption
    thumbnail_model = 'filer.ThumbnailOption'
except ImportError:
    from cmsplugin_filer_image.models import ThumbnailOption
    thumbnail_model = 'cmsplugin_filer_image.ThumbnailOption'

If you use the string syntax (e.g.: thumb_field = models.ForeignKey('cmsplugin_filer_image.ThumbnailOption')) use thumbnail_model string as defined above (e.g.: thumb_field = models.ForeignKey(thumbnail_model) If using the model directly you don’t have to change the fields definition

Django 1.7+ migrations

For every migration file that references ThumbnailOption add the following import:

from myapp.models import thumbnail_model

and change all 'cmsplugin_filer_image.ThumbnailOption' to thumbnail_model

South migrations

In every migration file add the following import:

from myapp.models import thumbnail_model

and change all 'cmsplugin_filer_image.ThumbnailOption' to thumbnail_model and u"orm['cmsplugin_filer_image.ThumbnailOption']" to u"orm['%s']" % thumbnail_model.

The default template in cmsplugin_filer_image expects the subject location functionality to be enabled. Follow:

Please note that current develop version moved plugin packages from src directory to project root. This may break your installation if upgrading. Uninstall any previous cmsplugin_filer installation (either from PyPI or from github repository) and reinstall it.



cmsplugin_filer_image provides integration with djangocms-text-ckeditor. Add this setting to enable it:


This allows dragging images into the text editor in Firefox and newer versions of IE.


Most plugins (file, folder, image and teaser) support configuring custom “styles” (templates).

e.g add the following settings for the image plugin:

    ('default', 'Default'),
    ('boxed', 'Boxed'),

Now, if a template exists at cmsplugin_filer_image/plugins/image/boxed.html it will be used. If not, it will fall back to cmsplugin_filer_image/plugins/image/default.html. If a css class in the default template is enough, it can be used in the template as {{ }}.

For backwards compatibility the plugin will always use cmsplugin_filer_image/image.html if it exists. Remove that template after migrating to the new structure.


Classes like left, center, right and img-responsive are given by the plugin to use in your own projects.

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cmsplugin_filer-1.1.3-py2.py3-none-any.whl (297.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 5, 2016
cmsplugin-filer-1.1.3.tar.gz (90.3 kB) Copy SHA256 Checksum SHA256 Source Sep 5, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting