Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use django Piston on Google AppEngine?

I haven't been able to do so due to all sort of missing dependencies (mainly, I think the problem is in the authentication code which relies on django stuff that is not available on AppEngine)

I was wondering if anyone patched\forked piston to get it working on AppEngine?

like image 407
Eran Kampf Avatar asked Sep 21 '09 10:09

Eran Kampf


2 Answers

http://bitbucket.org/gumptioncom/django-piston-app-engine/

like image 125
Jesper Noehr Avatar answered Oct 08 '22 04:10

Jesper Noehr


It turns out the problem with Piston and AppEngine is mainly when it comes to the authentication code. So, I managed to port Piston to AppEngine doing the following:

  1. I'm using the app-engine-patch project which integrates django's authentication framework with Google AppEngine
  2. I forked Piston and removed all the OAuth authentication code and models (in authentication.py). Its probably not too complicated to convert the model and auth code but as I don't need it I didn't bother...
like image 36
Eran Kampf Avatar answered Oct 08 '22 04:10

Eran Kampf