Django python manage.py migrate

编程入门 行业动态 更新时间:2024-10-27 06:18:56
本文介绍了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

本文发布于:2023-10-22 22:16:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1518884.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:python   Django   manage   migrate   py

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!