Wiki
Clone wikidjango-chameleon / Home
Django Chameleon
A theme creation and content migration tool for new Django CMS sites.
Installing
First, either add the Django-Chameleon (stable version) software to your environment like so:
pip install django-chameleon
or developer version:
pip install git+https://bitbucket.org/oddotterco/django-chameleon.git#egg=django-chameleon
Add it to your INSTALLED APPS:
INSTALLED_APPS = (
...
'chameleon',
...
)
Usage
After chameleon is installed and you are in your project directory, you can use the added commands through the "manage.py" interface like so:
python manage.py starttheme mysite_theme
..which will create an app in your current projects directory, named "mysite_theme" with defaults and basic theming already to go. Make sure to edit the base template to change the "set_theme_id" line before using it. Now sync and migrate your database. Don't forget about collecting your static files either.
Updated