5

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?

Stefano
  • 18,083
  • 13
  • 64
  • 79
Eran Kampf
  • 8,928
  • 8
  • 49
  • 47

3 Answers3

2

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...
Eran Kampf
  • 8,928
  • 8
  • 49
  • 47
1

I've forked django-oauth, to make it compatible with app-engine-patch. So it could eventually be used with django-piston-app-engine.

http://bitbucket.org/mtourne/django-oauth-appengine/

mtourne
  • 440
  • 1
  • 6
  • 13