A Django CMS plugin that manages and displays biographical information
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmsplugin_biography
.gitignore
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

cmsplugin-biography

cmsplugin-biography is a Django CMS plugin that allows the user to create and refer to biographical information. For instance, you can create a biography of a keynote speaker and refer to the biography in multiple locations across a website. Currently, the plugin manages biographies of people.

License

This work is released under the MIT license. See LICENSE for more details.

Installation

  1. Load your project's virtualenv.
  2. Run pip install git+git://github.com/kfr2/cmsplugin-biography.git.
  3. Add 'cmsplugin_biography' and 'easy_thumbnails' to the INSTALLED_APPS setting.
  4. Set THUMBNAIL_DEFAULT_STORAGE = DEFAULT_FILE_STORAGE (or to your storage backend of choice) in settings.py.
  5. Run python manage.py syncdb or python manage.py migrate if you have South installed.

Configuration

Thumbnail Sizes

easy-thumbnails accepts a THUMBNAIL_ALIASES setting that allows you to define your standard thumbnail sizes and options. The alias can then be referred to in the biography templates: {{ instance.image|thumbnail_url:'alias_name' }}

Biography Templates

If you would like to override the default person biography template, create your own version at (TEMPLATE_DIR)/cmsplugin_biography/person.html. You will likely find the existing template useful as a reference.

Assumptions