Skip to content

A way to quickly load and swap out template packs (or themes) for Django CMS

License

Notifications You must be signed in to change notification settings

MegaMark16/django-cms-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-cms-themes

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

Dependencies

  • django (tested with 1.3)
  • django-cms (tested with 2.2)

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',
)

Per the django-cms quickstart guide, you should have a setting in your settings file called PROJECT_PATH that points to the root of your project, i.e. PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) If not, it will be assumed that your themes will live just beneath the MEDIA_ROOT.

Usage

All usage is done through the admin.

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

About

A way to quickly load and swap out template packs (or themes) for Django CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages