简体   繁体   中英

how to run(copy) django project from one system from another system?

我正在使用我的系统之一(win8)在django上的项目上工作,现在我已经更改了system。如何从我在新系统(win7)上停止的地方继续工作。我有旧django项目的副本文件目录,没有别的,我已经在新系统上安装了python和django,仅复制该文件目录并在新系统上运行python manage.py runserver不起作用(我不希望它仍然可以正常工作),所以我该怎么办?我是django和python的新手,所以如果有人可以详细解释我。如果我的问题引起任何混乱,请发表评论。

django.db.models.loading was removed in Django 1.9. You need install the same version of Django on the old and new systems.

Django is pretty good about backwards compatibility, but you can't upgrade from one version to the next and assume that everything is going to work. You need to read through the release notes first (eg 1.9 ), and make any required code changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM