Ha? Have a Talk. Menu

Viewing all items for tag Django

Permalink:

Django model.py转化为数据模型图

占坑代填
Win10 64位 Python2.7下 Django apps中 model.py转化为数据模型图

问题

  • graphviz
  • include-path & install-option
  • –global-option=”-I/L
  • pygraphviz.whl
  • graph_extension
  • dot.exe
  • apps not project
  • python manage.py graph_models testapp -o model.png

参考链接

http://www.jianshu.com/p/109ae626b732
https://stackoverflow.com/questions/22324459/pygraphviz-valueerror-program-dot-not-found-in-path-python
https://github.com/pygraphviz/pygraphviz/issues/130
https://stackoverflow.com/questions/40809758/howto-install-pygraphviz-on-windows-10-64bit

  • Thanks for leaving a comment, please keep it clean. HTML allowed is strong, code and a href.