Skip to main content

Django Control Room Panel Tests codecov PyPI version Python versions License: MIT Downloads

Dj Urls Panel

Django admin URL introspection. Inspect, search, and understand your project's URL routing, directly from the admin.

DJ Urls Panel

Docs

https://django-control-room.github.io/dj-urls-panel/

Features

  • URL Visualization: View all Django URL patterns in an organized, searchable interface
  • URL Testing Interface: Swagger-like interface for testing URLs with:
    • HTTP method selection (GET, POST, PUT, PATCH, DELETE, etc.)
    • Dynamic URL parameter input
    • Header specification
    • Authentication support (Bearer, Token, Basic Auth, Session)
    • Request body editor with JSON formatting
    • Live cURL command generation with copy functionality
    • Real-time response display with headers and body
  • DRF Integration: Automatic detection and visualization of Django REST Framework serializers
  • Security Features:
    • Configurable SSRF protection with default blocklist for internal IPs
    • Optional host whitelisting for production environments
    • Ability to disable testing interface entirely
  • Search & Filter: Search URLs by pattern, name, or view function
  • Namespace Support: Filter and organize URLs by namespace
  • AI Agent Integration (MCP): Exposes list_urls, get_url_detail, and inspect_view tools so AI agents (Cursor, Claude, etc.) can introspect your URL routing via dj-control-room's MCP server

Requirements

  • Python 3.9+
  • Django 4.2+

Screenshots

Django Admin Integration

Seamlessly integrated into your Django admin interface. A new section for dj-urls-panel will appear in the same places where your models appear.

NOTE: This application does not actually introduce any model or migrations.

Admin Home

URL List View

Browse all URLs in your Django project with detailed information about patterns, views, and namespaces.

URL List

URL Detail & Testing Interface

View detailed information about each URL and test it directly from the admin interface.

URL Detail

DRF Serializer Information

Automatic detection and visualization of Django REST Framework serializers with field details.

Serializer Info

URL Metadata & Usage Examples

View URL metadata and get code examples for using URLs in your Django views.

URL Metadata

Usage Examples

Installation

pip install dj-urls-panel dj-control-room

Add it to INSTALLED_APPS, include its URLs, and migrate:

INSTALLED_APPS = [
    # ...
    'dj_control_room_base',
    'dj_urls_panel',
    'dj_control_room',
    # ...
]
urlpatterns = [
    path('admin/dj-control-room-base/', include('dj_control_room.urls')),
    path('admin/dj-urls-panel/', include('dj_urls_panel.urls')),
    path('admin/dj-control-room/', include('dj_control_room.urls'),)
    path('admin/', admin.site.urls),
]
python manage.py migrate

Then visit /admin/ and look for the "DJ URLS PANEL" section.

For the full walkthrough, settings reference (URL filtering, testing/SSRF security, CSS), and production recommendations, see the Installation and Configuration docs.

MCP Tools (AI Agent Integration)

Ships list_urls, get_url_detail, and inspect_view tools that dj-control-room's MCP server exposes to AI agents (Cursor, Claude, etc.), so they can look up URL routing, DRF serializer info, and view source locations without grepping your codebase.

See Features → MCP Tools for the full tool reference and Scopes for how agent access is permissioned separately from the admin UI.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Contributing

Want to contribute or set up the project for local development? See Contributing for prerequisites, Docker/virtualenv setup, running the example project, and the test suite.

Metadata

Release files for dj-urls-panel 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dj-urls-panel 0.5.0
File Size Uploaded
dj_urls_panel-0.5.0.tar.gz 42.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dj-urls-panel 0.5.0
File Interpreter ABI Platform
dj_urls_panel-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 76.2 kB

Release files / dj_urls_panel-0.5.0.tar.gz

Download URL dj_urls_panel-0.5.0.tar.gz
Size 42.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7cdbd655b5e8ff9ece18582f94a2dce496a18ada72c4fa73017bbc2969ca4c1e
BLAKE2b-256 checksum
How to use checksums
f52a7e737a09025a405ea1fc8fd6e7e59d25913c8305c2b24ab45acfb07779ce
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 Aug 11, 2026.

Transparency log

Release files / dj_urls_panel-0.5.0-py3-none-any.whl

Download URL dj_urls_panel-0.5.0-py3-none-any.whl
Size 34.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9eddf66216570a8909ddcf0d94efd855ca15953e080f1b214f3ebcc315ee254
BLAKE2b-256 checksum
How to use checksums
0f5c29dd8baf044078d977fb1824db3ff0cdd1b3dcdbd71b988ca82d99843e29
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 Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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