Skip to content

kfr2/cmsplugin-biography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Django CMS plugin that manages and displays biographical information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages