Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manage.py : Unknown command: 'migrate'

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!

like image 741
Marcolac Avatar asked Oct 11 '12 15:10

Marcolac


People also ask

What does manage py migrate to?

migrate executes those SQL commands in the database file. So after executing migrate all the tables of your installed apps are created in your database file.

Why does Python manage py Runserver not work?

The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Where should manage py be?

The django-admin.py script should be on your system path if you installed Django via its setup.py utility. If it's not on your path, you can find it in site-packages/django/bin within your Python installation.


1 Answers

You have to include south in INSTALLED_APPS in your settings.py.

like image 121
Daniel Roseman Avatar answered Oct 18 '22 09:10

Daniel Roseman