MegaMark16 / django-cms-themes

A way to quickly load and swap out template packs (or themes) for Django CMS
BSD 3-Clause "New" or "Revised" License
49 stars 15 forks source link

ImportError: cannot import name PageAddForm after adding cms_themes to APPS #14

Open mike-pt opened 9 years ago

mike-pt commented 9 years ago

/django-cms/env/lib/python2.7/site-packages/cms_themes/admin.py", line 17, in from cms.admin.forms import PageAddForm,PageForm ImportError: cannot import name PageAddForm

mike-pt commented 9 years ago

wonder if it the same issue as here: https://github.com/stefanfoulis/cmsplugin-filer/issues/86

sraddhanjali commented 9 years ago

error

alanlun516 commented 9 years ago

Same issue here. I updated my "models.py" file from my "cmsplugin-filer-image" package against mike-pt's suggestion. The error still occurs.

tonjo commented 7 years ago

Very old... Is this line in admin.py really necessary?

from cms.admin.forms import PageAddForm,PageForm

Seems like the two classes are not used in the file. Commenting that line it seems to work.