Django python manage.py migrate [英] Django python manage.py migrate

查看:177
本文介绍了Django python manage.py migrate的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装在Win7便携式Python 2.7.5.1和Django 1.6上。



我按照第一个民意调查教程说明,并在迁移阶段出现错误, python manage.py migrate

  C: \Natan\Dev\Portable Python 2.7.5.1\App\Scripts\mysite> .. \..\python.exe manage.py migrate 
未知命令:'migrate'
输入manage.py help以供使用。

任何想法?

解决方案

如果您已安装1.6版,则应使用 1.6教程,而不是开发版本。


I have installed on Win7 portable Python 2.7.5.1 and Django 1.6.

I followed the first polls tutorial instructions and got an error in the migrate stage, python manage.py migrate:

C:\Natan\Dev\Portable Python 2.7.5.1\App\Scripts\mysite>..\..\python.exe manage.py migrate
Unknown command: 'migrate'
Type 'manage.py help' for usage.

Any idea?

解决方案

If you've installed 1.6, you should use the 1.6 tutorial, not the one for the development version.

这篇关于Django python manage.py migrate的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆