wagtail/docs
Matt Westcott daa46b216c Fix BaseDeleteView subclassing for Django 4.0
As of Django 4.0 BaseDeleteView has switched to a new implementation based on FormMixin where custom deletion logic now lives in form_valid:
https://docs.djangoproject.com/en/4.0/releases/4.0/#deleteview-changes

Here we copy the Django 4.0 implementation for use on older Django versions to keep everything consistent, and provide a delete_action method for views that override wagtail.views.generic.models.DeleteView further (e.g. the workflow deactivation views).
2022-01-14 14:23:56 +00:00
..
_static fix all basic linting rules (mostly formatting) 2022-01-13 07:50:24 +00:00
_templates
advanced_topics
contributing Update browser support targets following UI team discussion 2022-01-14 11:31:58 +10:00
editor_manual
extending
getting_started
reference
releases Fix BaseDeleteView subclassing for Django 4.0 2022-01-14 14:23:56 +00:00
topics
Makefile
README.md
autobuild.sh
conf.py
favicon.ico
index.rst
logo.png
requirements.txt
robots.txt
spelling_wordlist.txt
support.rst

README.md

Wagtail docs

These are Sphinx docs, automatically built at https://docs.wagtail.io when the main branch is committed to Github. To build them locally, install Wagtail's development requirements (in the root Wagtail directory):

pip install -e .[testing,docs]

To build the documentation for browsing, from this directory run:

make html 

then open _build/html/index.html in a browser.

To rebuild automatically while editing the documentation, from this directory run:

sphinx-autobuild . _build

The online editor at http://rst.ninjs.org/ is a helpful tool for checking reStructuredText syntax.