Load prepackaged themes (templates and accompanying media) into Django CMS projects through the admin
Project description
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.
=================
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-cms-themes-1.0.11.tar.gz
.
File metadata
- Download URL: django-cms-themes-1.0.11.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3196e1f9a52d546e06a2b12abdf9b258ce23318c06d7ee0b1205a87f6ddd649f |
|
MD5 | b21437b9d1c0a03e94fb24bcb3153efb |
|
BLAKE2b-256 | 0c9f8a59523b55717263721abf5688803868bd821337fa081549af21c9e7cef4 |