Thursday, April 30, 2015

“Migrate” command for manage.py not recognised when using Django 1.8

Using "path/to/mySite/manage.py migrate" I get

Unknown command: 'migrate'  Type 'manage.py help' for usage.

Listed commands are:

changepassword    cleanup    compilemessages    createcachetable    createsuperuser    dbshell    diffsettings    dumpdata    flush    inspectdb    loaddata    makemessages    reset    runfcgi    runserver    shell    sql    sqlall    sqlclear    sqlcustom    sqlflush    sqlindexes    sqlinitialdata    sqlreset    sqlsequencereset    startapp    syncdb    test    testserver    validate

I believe "Migrate" was added as a native command for manage.py as of Django 1.7. According to "pip list" and the package documentation I am definitely using Django 1.8 and I explicitly called the correct versions of django-admin.py and manage.py in setup.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ad6aeb0e-7707-4fe8-bb07-bef44d559249%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment