A set of Django Management Commands to help you understand and visualize your project's models.
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install django-model-infodjango-model-info
Instantly understand your Django models' structure and relationships with beautiful, intuitive output.
Working with complex Django projects? Need to quickly understand model relationships and fields? django-model-info is an ideal solution for diving into any Django codebase with confidence.
Why django-model-info?
Four django management commands provide detailed information about your models, relationships, and migrations:
- Perfect for New Team Members: Quickly understand existing codebases without diving through multiple files.
- Great for Documentation: Export beautiful HTML or Markdown documentation of your models' structure and relationships.
- Ideal for Large Projects: Filter by app or model to focus on what matters.
- Time-Saving: Instantly see model-related information without writing custom scripts.
- Useful Output: Leverages tools like rich, Markdown, MermaidJS, and Graphviz for beautiful output.
Quick Start
- Install the package:
pip install django-model-info
- Add to INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_model_info.apps.DjangoModelInfoConfig',
...
)
You now have access to four new management commands:
