django-blog-zinnia / cmsplugin-zinnia

Bridge between django-blog-zinnia and django-cms
BSD 3-Clause "New" or "Revised" License
53 stars 46 forks source link

Issue when using South #21

Closed mrkre closed 10 years ago

mrkre commented 10 years ago

Error thrown when trying to do python manage.py migrate with Zinnia 0.13 and cmsplugin-zinnia 0.5

    UnknownMigration: Migration 'cmsplugin_zinnia:0001_initial' probably doesn't exist.
    Traceback (most recent call last):
      File "/home/mrkre/.virtualenvs/project/local/lib/python2.7/site-packages/south/migration/base.py", line 302, in migration
        migration = __import__(full_name, {}, {}, ['Migration'])
      File "/home/mrkre/.virtualenvs/project/local/lib/python2.7/site-packages/cmsplugin_zinnia/migrations/0001_initial.py", line 7, in <module>
        from zinnia.migrations import user_name
    ImportError: cannot import name user_name
Fantomas42 commented 10 years ago

Hi,

if you use the v0.13 of Zinnia you should not have the issue.

Are you sure that you use the v0.13 ? Maybe you have concurrent versions of Zinnia installed...

mrkre commented 10 years ago

Apologies. Issues with my virtualenv.

Fantomas42 commented 10 years ago

No problems, you are welcome.