Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mike-pt opened this issue Nov 26, 2014 · 4 comments

Comments

@mike-pt
Copy link

mike-pt commented Nov 26, 2014

/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
Copy link
Author

mike-pt commented Nov 26, 2014

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

@sraddhanjali
Copy link

error

@alanlun516
Copy link

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
Copy link

tonjo commented Feb 21, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants