使用south进行迁移时不会发生syncdb

时间:2021-05-08 19:15:54
Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.messages
 > django.contrib.staticfiles
 > django.contrib.admin
 > django.contrib.admindocs
 > kaarya.account
 > kaarya.project
 > south

Not synced (use migrations):
 - kaarya.inspector
(use ./manage.py migrate to migrate these)
Finished "C:\Documents and Settings\EC.32-SAMUEL\workspace\kaarya\kaarya\manage.py syncdb" execution.

I once installed south and tried implementing migration then also prompted as Not synced (use migrations ):

我曾经安装了south,并尝试实现迁移,然后提示as Not synced(使用migration):

Note : Here kaarya is my project and inspector is the app i tried migrating once using south but was not successful

注意:在这里,kaarya是我的项目,inspector是我在使用south时尝试迁移的应用程序,但并不成功

1 个解决方案

#1


2  

Did you try

你试过

python manage.py migrate

If so what was the error?

如果是这样,误差是多少?

#1


2  

Did you try

你试过

python manage.py migrate

If so what was the error?

如果是这样,误差是多少?