https://github.com/mwesterhof/wagtail_app_pages
Full MVC support for wagtail pages
https://github.com/mwesterhof/wagtail_app_pages
Last synced: 4 months ago
JSON representation
Full MVC support for wagtail pages
- Host: GitHub
- URL: https://github.com/mwesterhof/wagtail_app_pages
- Owner: mwesterhof
- License: mit
- Created: 2018-03-15T12:57:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T12:16:47.000Z (about 1 year ago)
- Last Synced: 2024-09-16T16:41:39.186Z (5 months ago)
- Language: Python
- Size: 79.1 KB
- Stars: 30
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
- awesome-wagtail - Wagtail App Pages - Extend Wagtail pages using an actual URL config and django views. (Apps / Misc)
README
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.* Free software: MIT license
* Documentation: https://wagtail-app-pages.readthedocs.io.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[](https://travis-ci.com/mwesterhof/wagtail_app_pages)