Zinnia Installation

来源:互联网 发布:虚航软件 编辑:程序博客网 时间:2024/06/07 06:56

Important:

Zinnia 0.15 only works with django 1.7

Use v0.14.3 instead.

After upgrading to django 1.8 I’m recieving the error during migration:

ProgrammingError: relation "django_content_type" already exists

Initial migrations on a project can sometimes be troubleshot using –fake-initial

python manage.py migrate --fake-initial

It’s new in 1.8. In 1.7, –fake-initial was an implicit default, but explicit in 1.8.

Refs:
1. http://stackoverflow.com/questions/18735480/django-contrib-comments-moderation-alreadymoderated-error-in-zinnia-django
2. http://stackoverflow.com/questions/29760817/how-can-i-resolve-django-content-type-already-exists

0 0
原创粉丝点击