Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-testimony-0.0.2.tar.gz (30.3 kB view details)

Uploaded Source

File details

Details for the file django-testimony-0.0.2.tar.gz.

File metadata

File hashes

Hashes for django-testimony-0.0.2.tar.gz
Algorithm Hash digest
SHA256 68dfe1e0d02449e2cb6734eeadc64fcdc6bcb1d0c57ce5b93a17344417345f07
MD5 89579d82234d0338faff995942e458ff
BLAKE2b-256 456bf060ffdf84a9b3f1ae123c95c7856a269fe170420bfda9dce32f5123deaf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page