Samin
Samin

Reputation: 47

ImportError in Django Rest Framework with Google App Engine

I have develop a simple app to learn Django rest framework and then uploaded it into Google app engine. But each time I try to access my data it shows me "no module name rest_framework". it works ok if I dont use Google App engine and stop working if I use (both local install or deploy the codes). I am using django 1.4 and using Cloud SQL. Can anyone please tell me what might be the problem?

regards Samin

screenshot: enter image description here

Upvotes: 0

Views: 823

Answers (1)

Code wrangler
Code wrangler

Reputation: 134

A bit late but might help someone else, I was also trying to get a solution for this error then I came across this link which has all the thirdparty apps, google app engine support. It doesn't have rest_framework.

So a as a solution you will have to copy the third-party library's pure-Python source code into your application's source code.

here is a solution in detail.

Hope that helps!

Upvotes: 1

Related Questions