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

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -