Install

Install package in your environment :

pip install cmsplugin-blocks

For development install see Install for development, this is also a good way to quick start a demonstration since development install have a demonstration site ready to run.

Configuration

Hint

Your project will need to be correctly configured for DjangoCMS, this document won’t treat about it.

Add it to your installed Django apps in settings :

INSTALLED_APPS = (
    ...
    "sorl.thumbnail",
    "smart_media",
    "cmsplugin_blocks",
)

Note

Then import the default Settings:

from smart_media.settings import *
from cmsplugin_blocks.defaults import *

You may not import these defaults but you will have to define them all in your project settings.

Finally you will have to apply database migrations.