python - Django Model Graph (pydot) Error -
i have started working on big django project existing complicated model. needed visualize model, decided use django-extensions (namely pygraphviz). unfortunately, failed install pygraphviz on windows using pip, installed pydot.
when running following command on windows cmd:
python manage.py graph_models --pydot -a -g -o my_project_visualized.png
i following error:
attributeerror: 'list' object has no attribute 'write'
any suggestion of how solve issue?
you must use older pydot
. version 1.1.0 works me. install with:
pip install pydot==1.1.0
Comments
Post a Comment