Django KDL Wagtail
KDL Wagtail Base Models
Documentation
The full documentation is at https://django-kdl-wagtail.readthedocs.io.
Quickstart
Install Django KDL Wagtail:
pip install django-kdl-wagtail
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'wagtail.contrib.settings',
...
'kdl_wagtail.core',
'kdl_wagtail.people',
...
)
Features
- A Core Wagtail application, kdl_wagtail.core with:
An abstract BasePage that contains and introduction and image fields, which all the other class in this package extend
A RichTextPage with just a RichTextField (WYSIWYG)
A StreamPage with a StreamField body
An abstract BaseIndexPage, with functions to return the page’s live children, context, and a function to paginate the children
An IndexPage
A set of reusable StreamField blocks
Simple default templates for the pages and blocks defined in the module
A public API based on Wagtail’s API https://docs.wagtail.io/en/latest/advanced_topics/api/v2/configuration.html
- People application, kdl_wagtail_people with:
A Person snippet, this is accessible from the Wagtail menu bar
A PersonPage
A PeopleIndexPage
- Zotero application, kdl_wagtail_zotero:
A Bibliography model to store entried harvested from a Zotero collection
A management command, zotero_import, to import entries from a Zotero collection
A BibliographyIndexPage, to display all the bibliography entries
The Zotero based Bibliography is available from the Wagtail menu bar
- Custom settings
Footer customisation
Analytics integration
ProxyPage: a new page type to support shortcuts and external links in menus
TODO
generic front end search page (with filters for tags, page types, …)
- generic/abstract wagtail form page
contact us page (could possibly inherit from wagtail form page)
FAQ page
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.10 (2021-10-08)
ProxyPage: a new page type to support shortcuts and external links in menus
0.9.0 (2020-01-23)
Integration with Zotero
Base search
0.5.0 (2019-02-05)
Wagtail settings for footer text and analytics settings
- kdl_wagtail_core utils:
paginate
- kdl_wagtail_core template tags:
get_page_children
get_analytics_id
0.1.0 (2019-01-22)
First release on PyPI.
Metadata
Release files for django-kdl-wagtail 0.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-kdl-wagtail-0.10.2.tar.gz | 33.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_kdl_wagtail-0.10.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 106.5 kB
Release files / django-kdl-wagtail-0.10.2.tar.gz
| Download URL | django-kdl-wagtail-0.10.2.tar.gz |
|---|---|
| Size | 33.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4a696358975091c6381f9199e465442431249da33947a442412ac26f383294f
|
|
BLAKE2b-256 checksum How to use checksums |
494a9bedc4daf2bedb07a709bb09c9cdab2dbf008db0c19b244db0a663838577
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Release files / django_kdl_wagtail-0.10.2-py2.py3-none-any.whl
| Download URL | django_kdl_wagtail-0.10.2-py2.py3-none-any.whl |
|---|---|
| Size | 72.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
23c0ddda52c4c47e87329d1ae515accc074b8f6079a1c9141f6fb691004775b3
|
|
BLAKE2b-256 checksum How to use checksums |
6c1d34cf0e01271499b7cfb337349f3824ad6590f8a875a573d071927dcaea84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|