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

History

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.

Source Distribution

wagtail_app_pages-0.2.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_app_pages-0.2.0-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file wagtail_app_pages-0.2.0.tar.gz.

File metadata

File hashes

Hashes for wagtail_app_pages-0.2.0.tar.gz
Algorithm Hash digest
SHA256 76b4f251b40b99463d6c51c2295cca3a4a95fa6753b4b6e91a015ad94145b5f2
MD5 ae876e03faac2e2c56edc2527ff7c713
BLAKE2b-256 63c2c11825f7e49daa470164796368509d8a06484e1eeef632804ebaa59ced93

See more details on using hashes here.

File details

Details for the file wagtail_app_pages-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_app_pages-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a60bcdb452fc30fd8f9eff030da85961bbcfcb20d5e202b4a7f6c5ba782e0b7
MD5 300f3b6d91d4ef1dd09f590df2021b5d
BLAKE2b-256 538dda6b8c2e0b3433bfc62797581e14a929ea56ec6c6a6a5739b4e5be4d5954

See more details on using hashes here.

Supported by

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