Wagtail ModelAdmin
Add any model in your project to the Wagtail admin. Formerly wagtail.contrib.modeladmin.
This package is in maintenance mode and will not receive new features. Consider migrating to Wagtail's built-in features and opening new feature requests in the Wagtail issue tracker.
Links
Supported versions
- Python 3.10, 3.11, 3.12, 3.13, 3.14
- Django 5.2, 6.0, 6.1
- Wagtail 7.0, 7.4, 8.0
Installation
python -m pip install wagtail-modeladmin- Add
wagtail_modeladminto yourINSTALLED_APPSsetting.INSTALLED_APPS = [ # ... "wagtail_modeladmin", # ... ]
Contributing
Install
To make changes to this project, first clone this repository:
git clone https://github.com/wagtail-nest/wagtail-modeladmin.git
cd wagtail-modeladmin
With your preferred virtualenv activated, install testing dependencies:
Using pip
python -m pip install --upgrade pip>=21.3
python -m pip install -e .[testing] -U
Using flit
python -m pip install flit
flit install
pre-commit
Note that this project uses pre-commit. It is included in the project testing requirements. To set up locally:
# go to the project directory
$ cd wagtail-modeladmin
# initialize pre-commit
$ pre-commit install
# Optional, run all checks once for this, then the checks will run only on the changed files
$ git ls-files --others --cached --exclude-standard | xargs pre-commit run --files
How to run tests
Now you can run tests as shown below:
tox
or, you can run them for a specific environment tox -e py314-django60-wagtail73 or specific test
tox -e py314-django60-wagtail73-sqlite -- wagtail-modeladmin.tests.test_file.TestClass.test_method
To run the test app interactively, use tox -e interactive, visit http://127.0.0.1:8020/admin/ and log in with admin/changeme.
Metadata
Release files for wagtail-modeladmin 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wagtail_modeladmin-2.5.0.tar.gz | 116.4 kB | With provenance | Details for wagtail_modeladmin-2.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wagtail_modeladmin-2.5.0-py3-none-any.whl | Python 3 | none | any | Details for wagtail_modeladmin-2.5.0-py3-none-any.whl |
Total release size: 382.5 kB
Release files / wagtail_modeladmin-2.5.0.tar.gz
| Download URL | wagtail_modeladmin-2.5.0.tar.gz |
|---|---|
| Size | 116.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f86e96d5172437e14f6e5fd986bae9648f499c117dff3bf6b2f9844ea9f440e
|
|
BLAKE2b-256 checksum How to use checksums |
788b3b8e9dd3c4293c46074f55869b50d7e593e2ba810df18908c7ef7850c042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / wagtail_modeladmin-2.5.0-py3-none-any.whl
| Download URL | wagtail_modeladmin-2.5.0-py3-none-any.whl |
|---|---|
| Size | 266.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
909c6238dc95371b97dc23651a5a9d8aeb9c3d1660ed0349b4a3e31c8fb8dc0d
|
|
BLAKE2b-256 checksum How to use checksums |
b8fc2c7af64d7529c19eb5fa82cb02027cb182fff0ba2605c1eca6d344dccd24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logSecurity for wagtail-modeladmin 2.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for wagtail_modeladmin-2.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.