A Django app to generate PlantUML diagram of project models.
Project description
django-model2puml app is a generator of project models structure in PlantUML class notation.
Quick start
Add “uml_generator” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'puml_generator', ]
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
Check generated PlantUML file!
./manage.py generate_puml --file diagram.puml --include auth contenttypes --add-help --add-legend
Release notes
2021-03-15 v0.1.14
ImportError in utils.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_model2puml-0.1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5832ff58745649ecebe37cdeb1fd3b428e52c3700401838eaf7acb48047d1d1a |
|
MD5 | e5149414895e95b0ae0ddc145b7a170f |
|
BLAKE2b-256 | 533ae3566487f4dbe8121a32e02575ab7daf83a086f0042b61fe50dc245c85a3 |