Skip to main content

Wagtail Developer Reference

A visual auditing tool for Wagtail developers. This package provides a live registry of your project's architecture, making it easy to track Page models and StreamField blocks across complex, multi-site setups.

Why use this?

In large Wagtail projects, it’s easy to lose track of where specific blocks are used or which templates are being rendered. This tool gives you a "God-view" of your components without needing to dig through the database or shell.

Features

  • Fast registry: Code definitions are cached per worker; the normal registry response stays small and paginates at 20 rows.
  • On-demand exact usage: PAGE and BLOCK counts are calculated only for a usage range, scoped to the exact page model, StreamField and nested definition path.
  • Scalable StreamField inspection: Usage scans read raw StreamField JSON, avoiding chooser-object queries while keeping totals current.
  • Searchable block picker: An accessible, collapsed picker searches all definitions server-side and returns at most 30 choices at once.
  • Multi-site aware: Site root pages are included, nested subsites are excluded from parent-site counts, and an empty site filter aggregates globally.
  • Usage inspection: Open an exact definition's paginated page list and copy the visible usage table in one click.
  • Template discovery: See the template path associated with every component.

Installation

Compatibility: Python 3.9+ and Wagtail 4.1 through 7.4.2 LTS. Wagtail 7.4 itself requires Python 3.10+.

  1. Add `wagtail_developer_reference` to your `INSTALLED_APPS`: ```python INSTALLED_APPS = [ ..., "wagtail_developer_reference", ] ```

  2. Run migrations so Django creates the package permission:

    python manage.py migrate
    
  3. Grant access in the Django admin:

    • Open a user or group in the Django admin.
    • Assign Wagtail developer reference | developer reference access | Can access the Wagtail developer reference.
  4. Usage:

    • Login to the Wagtail Admin with an account that has that permission explicitly assigned.
    • Find the "System Registry" item in the sidebar menu.

By default, no account can see the menu item or access the URLs. Superusers are not granted access automatically by this package; assign the permission directly or through a group.

License

Internal Use Only - Copyright © 2026 Fourdigits. All rights reserved.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_developer_reference-0.1.4.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

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

wagtail_developer_reference-0.1.4-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file wagtail_developer_reference-0.1.4.tar.gz.

File metadata

File hashes

Hashes for wagtail_developer_reference-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4913c5d346a8473cc1970655f47aeb0f7d2a7d3a2fd528dcde72db7181cbfbdb
MD5 74d41fbd34cca5594eeebcedb6864863
BLAKE2b-256 d046416851b57d3f852631e757c82cf560a029cbc37be4489cb504cd8edd5519

See more details on using hashes here.

File details

Details for the file wagtail_developer_reference-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_developer_reference-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 30e6ff32b3c319f23a662ba7c63ad81b640913e2116ede9692cc17e2ebc351d2
MD5 764d5b01de4443713b972452b8212faf
BLAKE2b-256 7cb620708f39df64e2fe1f401c9558218e2936fad54cd1a7a44a96f12a5e5b15

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page