KDL Wagtail Base Models
Project description
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
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.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-kdl-wagtail-0.9.5.tar.gz
.
File metadata
- Download URL: django-kdl-wagtail-0.9.5.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e38e1eab558a93d968eea5c0b97e5889aa797c913398fc7887740c94b93999d6 |
|
MD5 | 0c774d6e13448f36af5fbe9bbfa6e8e1 |
|
BLAKE2b-256 | fc6e03bec52caa563b3c1292b2482c3b29cbd2963f85ec00af93a2396007d577 |
File details
Details for the file django_kdl_wagtail-0.9.5-py2.py3-none-any.whl
.
File metadata
- Download URL: django_kdl_wagtail-0.9.5-py2.py3-none-any.whl
- Upload date:
- Size: 69.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a70bcf6dd971a7aabe34b0ff681f9b824a8c07252b8730321715b8f7a43bd4 |
|
MD5 | 252e04070f7a681f9a9bae1cdade19a9 |
|
BLAKE2b-256 | 6b64116e4578333b2c93b83eb61dc35eb4fd55d4a799c973b209e171e11c6822 |