Skip to main content

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


Download files

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

Source Distribution

wagtailperson-0.9.7.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtailperson-0.9.7-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file wagtailperson-0.9.7.tar.gz.

File metadata

  • Download URL: wagtailperson-0.9.7.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for wagtailperson-0.9.7.tar.gz
Algorithm Hash digest
SHA256 f3c4207ab6134fe1d5db0ca1a72eb227ba7b8a8886e8d21622d7ddd8bff26230
MD5 709c55ac9567e566cf82b6283c4988c0
BLAKE2b-256 25bd586dd09d3cb7676125d0a3ac29e086e5a83ceea65e859d7b62837200d48a

See more details on using hashes here.

File details

Details for the file wagtailperson-0.9.7-py3-none-any.whl.

File metadata

  • Download URL: wagtailperson-0.9.7-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for wagtailperson-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7661489f29fb36e3dead57d53c9dcd81109bc7a69672cfbe29f9ac0abe4f1661
MD5 b97bf2682315e6d0ec4fe8da3e0bbd53
BLAKE2b-256 d7a21925ef3a8fcd44b5461a9a6ae1261312584982b9172f331a3dbba78ef4c0

See more details on using hashes here.

Supported by

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