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 = (
...
'kdl_wagtail.core.apps.KdlWagtailCoreConfig',
'kdl_wagtail.people.apps.KdlWagtailContribPeopleConfig',
...
)
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
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
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.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.4.0.tar.gz
.
File metadata
- Download URL: django-kdl-wagtail-0.4.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d184250cb4da9bfef5285cb837ceb74c60e36dfab2a94b67d334bd7b2dafd8 |
|
MD5 | b46632522dd72a944f47cd6bd48db318 |
|
BLAKE2b-256 | de4780471f5c77d4bd8207880b5116cd5de94650e8f20bcaae9d21f737f91b27 |
File details
Details for the file django_kdl_wagtail-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_kdl_wagtail-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 113cbc0d64ea7b8ef3982327ff4b30ddcf87536d6ec660be98562d2d07128c69 |
|
MD5 | 13a8054b453d86244c39708e7e9b505c |
|
BLAKE2b-256 | 08c7b1c2ba037ff3930c860de73b87a7d61f286edd7cf534dda994e7387dbb9e |