A Django app that will create a pluggable django-cms testimony form and content plugin within your project..
Project description
A Django app that creates django-cms testimony content display plugin on a CMS page. There is an option for static display of a specified number of testimonials or animated scrollers as well.
Dependencies
django
django-cms
Getting Started
The easiest way is to use pip to install the app in your python environment like so:
pip install django-testimonial
Then add the plugin to your Django-CMS project at the bottom of the settings.py file. Something like so:
INSTALLED_APPS += ( 'testimony', )
Perform the usual syncdb and migrate to update your database:
python manage.py syncdb python manage.py migrate
And you are done.
Usage
Add the plugin to a page and then go to your admin area to add some testimonials. Mark the ones you want to see as published. Thats it!
Advanced Usage
You can add or change the templates available in the admin by creating a setting like the following in your settings.py file:
if 'testimony' in INSTALLED_APPS: TESTIMONY_TEMPLATES = ( ('testimony/list_default.html', gettext('Default list (stationary)')), ('testimony/rotator.html', gettext('Continuous scroll (animated)')), ('testimony/vticker.html', gettext('Scroll and pause (animated)')), )
Whats next?
Adding the testimonial collection form as a plugin, with optional captcha support.
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-testimony-0.0.2.tar.gz
.
File metadata
- Download URL: django-testimony-0.0.2.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68dfe1e0d02449e2cb6734eeadc64fcdc6bcb1d0c57ce5b93a17344417345f07 |
|
MD5 | 89579d82234d0338faff995942e458ff |
|
BLAKE2b-256 | 456bf060ffdf84a9b3f1ae123c95c7856a269fe170420bfda9dce32f5123deaf |