Unknown command: graph_models

1,096 views
Skip to first unread message

Pedram

unread,
Jul 14, 2010, 6:55:13 AM7/14/10
to Django users
Hello,
Sorry if this thread already exists. I've searched but nothing could
find.
I tried this code:
python manage.py graph_models graphdb -o scheme.dot
But I got this error:
Unknown command: 'graph_models'
Type 'manage.py help' for usage.

I installed python-graphviz, graphviz-deb, python-django-extensions
but still I have the error. Anything's missing?

Thanks in advance.

Rolando Espinoza La Fuente

unread,
Jul 14, 2010, 12:56:04 PM7/14/10
to django...@googlegroups.com

Did you added django_extensions to your INSTALLED_APPS?

If you run "manage.py help" you should see graph_models in the command list.

~Rolando

Pedram

unread,
Jul 14, 2010, 10:44:36 PM7/14/10
to Django users


On Jul 14, 8:56 pm, Rolando Espinoza La Fuente <dark...@gmail.com>
wrote:
I added django_extensions and everything's fine. Thank you very much :)
Reply all
Reply to author
Forward
0 new messages