我在运行 Syncdb 时得到了这个
lex@lex-pc:~/projects/next$ ./manage.py syncdb
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Synced:
> django_filters
Not synced (use migrations):
- django.contrib.auth
- django.contrib.contenttypes
- django.contrib.sessions
- django.contrib.messages
- django.contrib.staticfiles
- django.contrib.admin
- django.contrib.admindocs
- south
- etta
- sorl.thumbnail
- schlib
- admin
- gart
- school1
- school2
(use ./manage.py migrate to migrate these)
当我这样做时,./manage.py migrate school1
我得到DatabaseError: relation "south_migrationhistory" does not exist
. 这些应用程序具有迁移目录,其中包含迁移。这是南方的问题吗?