Skip to main content

A Blog build with Wagtail.

Project description

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
  • Tags
  • RSS feed for index pages
  • Delivred with acceptable templates

Install

Simply install it from pypi.org:

pip install wagtailpress

Add this app and dependencies to django installed app in your settings.py:

INSTALLED_APPS = [
    # …
    'wagtail.contrib.routable_page',
    'wagtailperson',
    'wagtailpress',
    # …
    ]

Then, finally, apply migration scripts:

./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:

./manage.py migrate 
./manage.py runserver 

Test

To run test, simply run this in the root of the source code working directory:

./manage.py test

Licence

LGPLv3

Author(s)

Sébastien Gendre seb@k-7.ch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtailpress-0.13.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

wagtailpress-0.13.0-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file wagtailpress-0.13.0.tar.gz.

File metadata

  • Download URL: wagtailpress-0.13.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.11.1 Linux/6.0.18-300.fc37.x86_64

File hashes

Hashes for wagtailpress-0.13.0.tar.gz
Algorithm Hash digest
SHA256 f2f6254293c72d15cf6e7242d518c8e6a70287bd1cded6b52c6c47f0b90709b4
MD5 f5e28c583edab689883c5892824df6dd
BLAKE2b-256 5c53c7d0407d7e7459d0ef9d9b112413b641d0ef1bad77201096b4f959c1224f

See more details on using hashes here.

File details

Details for the file wagtailpress-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: wagtailpress-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.11.1 Linux/6.0.18-300.fc37.x86_64

File hashes

Hashes for wagtailpress-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3c73c36e143bf11f870ef2c3de39c24eb85a133158ff3fb930662e96adf211
MD5 7e225d4c4293f5b4495ab58e18724aea
BLAKE2b-256 2835a8967ae7e25e7900caa0f205f04b3739959c708a68c23c9fbf18f805e16b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page