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 support #71

Open
lsc20051426 opened this issue Oct 1, 2014 · 4 comments
Open

Django 1.7 support #71

lsc20051426 opened this issue Oct 1, 2014 · 4 comments

Comments

@lsc20051426
Copy link

I got error:

py27env/lib/python2.7/site-packages/mongodbforms/documentoptions.py", line 7, in
from django.db.models.options import get_verbose_name
ImportError: cannot import name get_verbose_name

Really hope mongodbforms can support django1.7~~

@ivanenko
Copy link

ivanenko commented Oct 6, 2014

this issue can be fixed like this:
after installing mongodbforms, find and open Lib\site-packages\mongodbforms\documentoptions.py
comment line #7:
#from django.db.models.options import get_verbose_name

and insert line

from django.utils.text import camel_case_to_spaces as get_verbose_name

@lsc20051426
Copy link
Author

There are one more error. I forgot about it, nvm, i use django1.5 now.

@PabloCastellano
Copy link

@PabloCastellano
Copy link

This is fixed now in master! This issue can be closed.

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

3 participants