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 MergeDict #4814

Closed
sohamnavadiya opened this issue Jan 13, 2017 · 2 comments
Closed

ImportError: cannot import name MergeDict #4814

sohamnavadiya opened this issue Jan 13, 2017 · 2 comments

Comments

@sohamnavadiya
Copy link

sohamnavadiya commented Jan 13, 2017

I am trying to update django 1.7 to 1.9.12.
After updating django I am getting below error stack.

 File "/home/abc/Documents/venv/rest_api/api/all_utils/goal_utils.py", line 3, in <module>
    from rest_framework.request import MergeDict
ImportError: cannot import name MergeDict

I have installed djangorestframework==3.5.3.

How can I solve this error?
Thanks in advance.

@louisom
Copy link

louisom commented Jan 13, 2017

@sohamnavadiya , I found that in django rest framework 3.1.1 release note, it remove MergeDict.

You can see it at #2640, since Django remove MergeDict in 1.9 version.

@jpadilla
Copy link
Member

The discussion group is the best place to take this discussion and other usage questions.

Yup @grapherd is right.

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