Metadata-Version: 2.1
Name: wagtailpress
Version: 0.12.0
Summary: A Blog build with Wagtail.
Home-page: https://framagit.org/SebGen/wagtailpress
License: LGPL-3.0-only
Keywords: wagtailperson,wagtail,person
Author: Sébastien Gendre
Author-email: seb@k-7.ch
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Framework :: Wagtail
Classifier: Framework :: Wagtail :: 2
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: wagtail (>=2.14.2,<3.0.0)
Requires-Dist: wagtailperson (>=0.13.3,<0.14.0)
Project-URL: Repository, https://framagit.org/SebGen/wagtailpress
Description-Content-Type: text/markdown

Wagtailpress
============

A Blog build with Wagtail. Its name is not a reference to Wordpress,
but the name wagtail_blog is already taken.


Features
--------

- Index page model
- Article page model
- Authors are defined using [Wagtail person](https://framagit.org/SebGen/wagtailperson)
- Tags
- RSS feed for index pages
- Delivred with acceptable templates


Install
-------

Simply install it from pypi.org:
```bash
pip install wagtailpress
```

Add this app and dependencies to django installed app in your
settings.py:
```bash
INSTALLED_APPS = [
    # …
    'wagtail.contrib.routable_page',
    'wagtailperson',
    'wagtailpress',
    # …
    ]
```

Then, finally, apply migration scripts:
```bash
./manage.py migrate wagtailpress
```


Use
---

This application provide 2 pages models:

-   A blog article page: A simple article
-   A blog index page: The index of your blog, it list its children
    articles, their tags and provide a RSS feed

A blog article page got multiple fields:
-   Title
-   Publication date
-   One or some authors
-   An intro 
-   An optional header image
-   The content of the article


Development
-----------

This 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: 
```bash
./manage.py migrate 
./manage.py runserver 
```


Test
----

To run test, simply run this in the root of the source code working directory:
```bash
./manage.py test
```


Licence 
-------

LGPLv3


Author(s)
---------

Sébastien Gendre <seb@k-7.ch>




