是否可以在 Google AppEngine 上使用 django Piston?

发布于 2024-08-05 05:50:50 字数 119 浏览 10 评论 0原文

由于缺少各种依赖项,我无法这样做(主要是,我认为问题出在身份验证代码中,该代码依赖于 AppEngine 上不可用的 django 内容)

我想知道是否有人修补\分叉活塞让它在 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

神经暖 2024-08-12 05:50:50

事实证明,Piston 和 AppEngine 的问题主要在于身份验证代码。
因此,我设法将 Piston 移植到 AppEngine,执行以下操作:

  1. 我正在使用 应用程序-engine-patch 项目,将 django 的身份验证框架与 Google AppEngine 集成。
  2. 我分叉了 Piston 并删除了所有 OAuth 身份验证代码和模型(在authentication.py 中)。转换模型和授权代码可能不太复杂,但因为我不需要它,所以我没有打扰......

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...
吃兔兔 2024-08-12 05:50:50

我分叉了 django-oauth,使其与 app-engine-patch 兼容。因此它最终可以与 django-piston-app-engine 一起使用。

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

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文