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

Django 1.7 : ImportError cannot import name get_verbose_name #48

Open
krishnadaszorse opened this issue Dec 8, 2014 · 1 comment
Open

Comments

@krishnadaszorse
Copy link

rollyourown/seo/options.py", line 4, in
from django.db.models.options import get_verbose_name

this error is occurred due to some changes in django 1.7
get_verbose_name function is changed from db.models.options.get_verbose_name to utils.text.camel_case_to_spaces
Solution
comment this line
from django.db.models.options import get_verbose_name

Add this line
from django.utils.text import camel_case_to_spaces as get_verbose_name

@entvia
Copy link

entvia commented May 14, 2015

Thanks

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

2 participants