Skip to main content

A Django app to generate PlantUML diagram of project models.

Project description

https://img.shields.io/pypi/l/django-model2puml https://img.shields.io/github/v/tag/sen-den/django-model2puml https://img.shields.io/github/last-commit/sen-den/django-model2puml https://img.shields.io/github/commit-activity/m/sen-den/django-model2puml https://img.shields.io/pypi/dm/django-model2puml

django-model2puml app is a generator of project models structure in PlantUML class notation.

Quick start

  1. Add “uml_generator” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'puml_generator',
    ]
  2. Run django management command generate_puml like this ./manage.py generate_puml

Params:

--file - output file
--title - provide a title for diagram
--add-help - to add docstrings to diagram
--add-choices - to add Choices description of fields to diagram
--add-legend - to include explanation of the symbols used
--add-omitted-headers - for omitted foreign app a header stub should be presented
--omit - specify apps to be omitted in diagram
--include - specify apps to be included in diagram; other will be omitted
--headers-only - use only model header and relations, omit fields list

Project details


Download files

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

Source Distribution

django-model2puml-0.1.11.tar.gz (6.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page