English 中文(简体)
Python 谷歌-App-Engine Google-App-Engine 与 Python 执行任务
原标题:Implementing TaskQueue on Google-App-Engine with Python 2.7

我试图了解GAE任务与Python 2. 2. 的Quues 。 样本代码 < a href="https:// developmenters.google.com/apengine/docs/python/taskqueue/overview-push" rel= “ nofollow” >这里 在尝试复制和通过Helloworld时不起作用。 Python 2. 27 辅导 < a href=" https:// developers.google.com/appengine/docs/python/getting startedpython27/ helloworld" reld="nofolth">here < a>。

我认为是因为我没有对应的. html, 我认为做一个任务很简单, 因为上面写道:

(在此示例中, counts.html 指含有显示反值页面 HTML 的 Django 模板, 以及触发 POST 请求到 / URL 的按钮 。 )

我知道应该知道如何做反面.html 但我不能。

有什么建议吗?

问题回答

您应该能够调适 < a href=>" "https:// developmenters.google.com/appengine/docs/python/getting startedpython27/templates" rel="nofollow" >guestbook 模板示例 。

If your code is copy/paste from the Google sample page and is not working, then it may be your app.yaml and queue.yaml files are not set up properly. Symptom = your TQ call never gets to the handler. (You do need more specificity re: problem as Nick said.) Reference for yamls: https://developers.google.com/appengine/docs/python/config/queue





相关问题
How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

gqlQuery returns object, want list of keys

Is there a way to convert the GqlQuery object to an array of keys, or is there a way to force the query to return an array of keys? For example: items = db.GqlQuery("SELECT __key__ FROM Items") ...

Integrating Google AppEngine with a Thick Client

I want to make a multi-user client-server solution with Java Swing thick client as a front-end and Google AppEngine (Java one) as a back-end. The problem is that GAE provides only web-based forms for ...

sorl.thumbnail : thumbnail is not a valid tag library?

I am trying to install sorl.thumbnail but am getting the following error message: thumbnail is not a valid tag library: Could not load template library from django.templatetags.thumbnail, No module ...

热门标签