Skip to content

Dj Urls Panel

Visualize and test Django URL routing inside the Django Admin, including patterns, views, namespaces, and more.

Overview

Dj Urls Panel is a Django admin extension that provides a comprehensive interface for viewing and testing your Django URLs. It includes a Swagger-like testing interface, automatic Django REST Framework integration, and built-in security features.

Features

  • URL Visualization: View all Django URL patterns in an organized, searchable interface
  • Interactive Testing Interface: Swagger-like UI for testing URLs directly from the admin:
  • Test any HTTP method (GET, POST, PUT, PATCH, DELETE, etc.)
  • Dynamic URL parameter input with validation
  • Configure headers and authentication (Bearer, Token, Basic, Session)
  • Request body editor with JSON formatting
  • Real-time response display
  • Automatic cURL command generation with copy functionality
  • DRF Integration: Automatic detection and visualization of Django REST Framework serializers
  • Security Features:
  • Built-in SSRF protection with configurable blocklist
  • Optional host whitelisting for production
  • Ability to disable testing interface entirely
  • Admin Panel Integration: Seamlessly integrated into Django Admin

Requirements

  • Python 3.9+
  • Django 4.2+

License

MIT License - See LICENSE file for details.