Search code examples
pythondjangogoogle-app-enginedjango-piston

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?


Solution

  • 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...