相关疑难解决方法(0)

Django syncdb和迁移

我正在将django网站从一个服务器移动到另一个服务器,我尝试了syncdb,所以我放了python manage.py syncdb,我得到了这个输出:

Syncing...
Creating tables ...
The following content types are stale and need to be deleted:

    orders | ordercontact

Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.

    Type 'yes' to continue, or 'no' to cancel: no
Installing custom SQL ...
Installing indexes ...
No fixtures found.

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > …
Run Code Online (Sandbox Code Playgroud)

django syncdb django-south

14
推荐指数
3
解决办法
3万
查看次数

标签 统计

django ×1

django-south ×1

syncdb ×1