I install django-extensions like that:
git clone git://github.com/django-extensions/django-extensions.git
cd django-extensions
python setup.py install
Then I go to my project folder and use:
./manage.py graph_models -a -g -o my_project_visualized.png
Whats returns:
Unknown command: 'graph_models'
Type 'manage.py help' for usage.
I try "help" - all of that commands I know, but how can I fix the problem with graph_models?
Since you haven't mention it. I assume you're missing the INSTALLED_APPS
step:
settings.py:
INSTALLED_APPS = (
...
'django_extensions',
)
Is's not mentioned on the GitHub site, but it is mentioned on the documentation.
And of course:
pip install django_extensions
And add it to the requirements
if you have any
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With