1
我有一個在Heroku上使用Django 1.7.1和Python 3在Cedar棧上運行的Django-CMS項目。在Heroku上遷移失敗
我可以創建就好使用遷移:heroku run python manage.py makemigrations
返回:
Migrations for 'zinnia':
0002_entry_content_placeholder.py:
- Add field content_placeholder to entry
然而,通過運行遷移:heroku run python manage.py migrate
回報:
Operations to perform:
Synchronize unmigrated apps: mptt, tagging, djangocms_admin_style, localflavor, django_comments, robots, ckeditor, sekizai, compressor, cmsplugin_plaintext, storages
Apply all migrations: admin, cms, zinnia, sessions, contenttypes, sites, auth, djangocms_link, djangocms_file, djangocms_picture, djangocms_text_ckeditor, menus
Synchronizing apps without migrations:
Creating tables...
Installing custom SQL...
Installing indexes...
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration,
and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run
'manage.py migrate' to apply them.
重新運行makemigrations
和migrate
簡單的返回同樣的錯誤陳述。我究竟做錯了什麼?
我會給一個嘗試,謝謝。 – Brandon