Skip to main content

Full MVC support for wagtail pages

Project description

# Wagtail App Pages

This module provides full MVC support for wagtail pages. Using it, it’s possible to extend routing for a page by using url configs and views. It addresses the same problem solved by wagtail’s own RoutablePageMixin, without breaking clean MVC principles.

Features

  • Add URL endpoints to wagtail pages by simply providing a url config
  • Use regular django views instead of routing methods in the page model
  • Enrich (class based) views and request objects, so views always have access to the parent page
  • Adds a reverse() method to pages, so we can do reverse lookups with respect to the page itself
  • Provides a template tag to reverse urls within the same page (automatically detecting parent page if available)
  • Full url conf support, including django 2.0’s new path() urls
  • Full support for app page revisions, explore older versions of the app page

History

0.2.6 (2018-11-06)

  • update requirements

0.2.5 (2018-08-06)

  • ensure that parent page will also be available as “page” in the context

0.2.4 (2018-07-26

  • Support for app page revisions

0.2.3 (2018-05-29)

  • Django 1.11 LTS support (issue #1)

0.2.2 (2018-04-19)

  • add context processor to provide parent_page to context

0.2.1 (2018-04-10)

  • fix templatetags missing in dist

0.2.0 (2018-03-30)

  • change to beta

0.1.0 (2018-03-15)

  • First release on PyPI.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
wagtail_app_pages-0.2.6.tar.gz (23.8 kB) Copy SHA256 hash SHA256 Source None

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