A set of developer tools in the form of management commands.
- Python 3.8+
- Django 3.2+
- Wagtail 4.1+
There is an api now available at /wagtail-devtools-api/
which will list all available commands.
The admin_responses
command will make a requests to the admin interface using get requests for a range of models. It will write a response result to the console.
The content_types
report will generate a report for all content types in the project.
Install the package - There's no release yet so you'll need to install from the main branch.
python -m pip install wagtail-devtools
Install from the main branch.
python -m pip install git+https://github.com/wagtail-packages/wagtail-devtools#egg=wagtail_devtools
Add the package to your installed apps in your development settings file. The site will need to be running in DEBUG
mode.
DEBUG = True
INSTALLED_APPS += ["wagtail_devtools"]