Reputation: 931
I'm using django and I'm facing a little problem. I would like to use the 'migrate' command with manage.py But when I try I get this error message:
Unknown command: 'migrate'
Type 'manage.py help' for usage.
I have south installed (I installed it with pip), but I still can't use this command. I don't know what to do.
Thank you for your help!
Upvotes: 27
Views: 24665
Reputation: 1210
This is likely caused by following the 1.7 (DEV version) tutorial when we all get the last stable version (1.6) installed by pip.
It would not appear migrate is even a part of 1.7 in general!
Maybe the following command solve your problem: python manage.py syncdb
So either follow 1.6 tutorial or follow the instructions to install the 1.7 dev version of Django.
Upvotes: 25
Reputation: 599946
You have to include south
in INSTALLED_APPS
in your settings.py.
Upvotes: 34