Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Add a person and a persons index pages to Wagtail as well as a person block for StreamFields.

Project description

Wagtail Person

Add a person and a persons index pages to Wagtail as well as a person block for StreamFields. This app provide a basic CSS and templates, feel free to customize it.

Install

Simply install it from pypi.org:

pip install wagtailperson

Add this app to django installed app in your settings.py:

INSTALLED_APPS = [
    # …
    'wagtailperson',
    # …
    ]

Then, finally, apply migration scripts:

./manage.py migrate wagtailperson

Use

This application provide 2 pages models:

  • A person page: Represent someone, can be used mostly everywhere in the pages tree
  • A person index page: A root page for persons pages, it list each of person it had as children pages and can only have person pages as children

The person index page can be useful to group persons, globally or per group.

A person page got multiple fields:

  • Name
  • Picture
  • Titles
  • Introduction
  • Abstract
  • Extra informations

This application also provide a person block for StreamField at wagtailperson.blocks.PersonBlock. Feel free to use it on your models StreamField.

Development

The source code repository provide a full Django project, so you can easily work with wagtailperson for testing you modifications.

Simply use these two steps in the source code working directory:

./manage.py migrate
./manage.py runserver

Licence

LGPLv3

Author

Sébastien Gendre <seb@k-7.ch>

Project details


Release history Release notifications

Download files

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

Files for wagtailperson, version 0.9.7
Filename, size File type Python version Upload date Hashes
Filename, size wagtailperson-0.9.7-py3-none-any.whl (31.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wagtailperson-0.9.7.tar.gz (17.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page