django-extensions/django-extensions — pull request #498 by emedez (2014-04-18 17:09:46+00:00)
Title: Use // instead of # for comments in dot template

Comments using # and having leading whitespaces on dot file cause syntax
errors when trying to render it on an interactive viewer (xdot).

To replicate error:

- Create a Graphviz dot file using:

python manage.py graph_models myappname > output.dot

- Open with xdot:

xdot output.dot

The following error will appear:

Error: :2: syntax error near line 2
context: >>> # <<< Dotfile by Django-Extensions graph_models