Skip to content

Latest commit

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

DjangoCMS Carousel

This app needs:

They will be automatically installed so no worries.

SetUp

pip install git+git://github.com/MagicSolutions/cmsplugin-carousel.git --process-dependency-links

--process-dependency-links is added because of the django-orderedmodel package (it is good to be the one from the MagicSolution's organization)

You should have these in installed apps:

INSTALLED_APPS = (
.....
'easy_thumbnails',
.....
'filer',
'cmsplugin_filer_file',
'cmsplugin_filer_folder',
'cmsplugin_filer_image',
'cmsplugin_filer_teaser',
.....
'orderedmodel',
'cmsplugin_carousel',
)

And these in THUMBNAIL_PROCESSORS

THUMBNAIL_PROCESSORS = (
'easy_thumbnails.processors.colorspace',
'easy_thumbnails.processors.autocrop',
'filer.thumbnail_processors.scale_and_crop_with_subject_location',
'easy_thumbnails.processors.filters',
)

Run the migrations

python manage.py migrate filer
python manage.py migrate cmsplugin_carousel

And off you go...

Demo

If you want to see what the carousel looks like, I have made it really easy for you. Open terminal and execute the following:

git clone https://github.com/MagicSolutions/cmsplugin-carousel &&
cd cmsplugin-carousel &&
mkvirtualenv -a `pwd` -p /usr/bin/python2.7 cmsplugin_carousel_demo &&
pip install -r example/requirements.txt &&
./example/manage.py syncdb --all --noinput &&
./example/manage.py migrate --fake &&
./example/manage.py loaddata example/loaddata.json &&
./example/manage.py runserver 0.0.0.0:8312

After all is set and done, http://localhost:8312 should load the demo.

About

DjangoCMS plugin for rapid creation of bootstrap carousel

Resources

Stars

2 stars

Watchers

17 watching

Forks

Releases

Packages

Contributors

Languages