Wagtail Person
On a CMS, we regularly need to represent an author, a speaker, a person. To avoid repetition and duplication of datas about this, this app add a person model to Wagtail, with admin UI. Do not hesitate to use it on your blog or lectures appilaciton.
This model is accompanied by a Person page model and a Persons index page model. Each Person page is linked to a Person model to see it on your website.
This app also provide a basic CSS and templates, feel free to customize it.
Important
Since version 0.9.8, the Person Page model has been split in 2 models:
- A Person model
- A Person page model, with a many2one to a Person model
Install
Simply install it from pypi.org:
pip install wagtailperson
Add this app to django installed app in your settings.py:
INSTALLED_APPS = [
# …
'wagtailperson',
# …
'wagtail.contrib.modeladmin',
# …
]
Then, finally, apply migration scripts:
./manage.py migrate wagtailperson
Use
This application add a new entry to the administration menu, called "Persons". From this menu, you can add a new author or person.
If you want to link one of your wagtail page models, or django models,
to a person: Simply add a many2one field linked to
wagtailperson.models.Person.
This application also provide 2 pages models:
- A Person page: Show puplicly someone, can be used mostly everywhere in the pages tree
- A Persons index page: A root page for Persons pages, it list each of Persons pages 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 got multiple fields:
- Picture
- Name
- Tags
- Introduction
- Abstract
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>
Metadata
Release files for wagtailperson 0.14.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| wagtailperson-0.14.1.tar.gz | 14.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtailperson-0.14.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.7 kB
Release files / wagtailperson-0.14.1.tar.gz
| Download URL | wagtailperson-0.14.1.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c98711d5e6f5715fa4ab73ffcefc594ed538e502d8fea20ed519b6eb10d282ce
|
|
BLAKE2b-256 checksum How to use checksums |
d8f6ceb912627f4af6268c9ed70382b6050e9cb87cedde789a1065687375ac4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.11.1 Linux/6.0.18-300.fc37.x86_64
|
Release files / wagtailperson-0.14.1-py3-none-any.whl
| Download URL | wagtailperson-0.14.1-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e83d8fb67876c6c4bd0cd163ddf9d54dc7f9490120982aa88b7637dba8230155
|
|
BLAKE2b-256 checksum How to use checksums |
a73775064476dca0967692fee8f921373b5dd74a1a042b8f8106fa8c0da2d1f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.11.1 Linux/6.0.18-300.fc37.x86_64
|
Security for wagtailperson 0.14.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.