Skip to content
A way to quickly load and swap out template packs (or themes) for Django CMS
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cms_themes
demo
.gitignore
AUTHORS
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

django-cms-themes

A django app that lets you load theme packs that are bundled templates, and select which theme a site should use.

Dependancies

  • django
  • django-cms

Getting Started

To get started simply install using pip:

pip install django-cms-themes

Add cms_themes to your installed apps and syncdb (or migrate, if you have south installed).

Your installed apps should look something like this:

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.admin',
    'cms',
    'cms_themes',
)

Create a themes folder under the root of your webapp, and then create a symlink to that themes folder under your MEDIA_ROOT, as that is how most of the themes will assume the media is setup.

Usage

All usage is done through the admin.

Simply create a new Theme record and upload a theme tarball (tar.gz) file from djangocmsthemes.com. All templates from themes uploaded should now show up in your Templates drop down on a django cms page.

Something went wrong with that request. Please try again.