Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for wagtailpress, version 0.9.2
Filename, size File type Python version Upload date Hashes
Filename, size wagtailpress-0.9.2-py3-none-any.whl (1.6 MB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wagtailpress-0.9.2.tar.gz (1.2 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page