An opinionated django CMS setup bundled as an Divio Cloud addon
Branch: support/3.6.x
Clone or download
Latest commit f00f226 Feb 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aldryn_django_cms
tests Addon code alignments (#124) Feb 1, 2019
.coveragerc Addon code alignments (#124) Feb 1, 2019
.editorconfig Addon code alignments (#124) Feb 1, 2019
.gitignore Addon code alignments (#124) Feb 1, 2019
.travis.yml Addon code alignments (#124) Feb 1, 2019
CHANGELOG.rst
LICENSE.txt initial commit Aug 27, 2015
MANIFEST.in Addon code alignments (#124) Feb 1, 2019
README.rst fix branch display Feb 12, 2019
addon.json Configure Media library menu item from latest Filer Jul 7, 2016
aldryn_config.py
setup.py Addon code alignments (#124) Feb 1, 2019
tox.ini Addon code alignments (#124) Feb 1, 2019

README.rst

Aldryn django CMS

build coverage

An opinionated django CMS setup bundled as an Divio Cloud addon.

This package will auto configure django CMS including some extra tools. It includes django-filer, a default set of plugins, django-parler, aldryn-boilerplates and some more. A future goal is to split some of those other tools into separate addons.

Contributing

This is a an open-source project. We'll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.

We're grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.

Documentation

See REQUIREMENTS in the setup.py file for additional dependencies:

python django djangocms

Installation

Nothing to do. aldryn-django-cms is part of the Divio Cloud platform.

For a manual install:

Important

Please follow the setup instructions for installing aldryn-addons and aldryn-django first!

The version is made up of the django CMS release with an added digit for the release version of this package itself.

If you followed the aldryn-addons and aldryn-django installation instructions, you should already have a ALDRYN_ADDONS setting. Add aldryn-django-cms to it.:

INSTALLED_ADDONS = [
    'aldryn-django',
    'aldryn-django-cms',
]

Create the addons/aldryn-django-cms directory at the same level as your manage.py. Then copy addon.json, aldryn_config.py from the matching sourcecode into it. Also create a settings.json file in the same directory with the following content:

{
  "cms_templates": "[[\"default.html\", \"Default\"]]"
}

Important

The above settings.json assume you have a default.html cms template installed.

Note

The need to manually copy aldryn_config.py and addon.json is due to legacy compatibility with the Aldryn Platform and will no longer be necessary in a later release of aldryn-addons.

Running Tests

You can run tests by executing:

virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test