How do I activate the Interactive Console on App Engine?

后端 未结 2 1917
失恋的感觉
失恋的感觉 2020-12-03 03:11

I have an issue and I\'d like to use the Interactive console you get on the local dev server (http://localhost:8080/_ah/admin) on the cloud server to make sure a query is wo

2条回答
  •  爱一瞬间的悲伤
    2020-12-03 04:00

    Add the following to your app.yaml, before any .* handler:

    - url: /admin/.*
      script: $PYTHON_LIB/google/appengine/ext/admin
      login: admin
    

    Another option for your use-case is to enable remote_api, then use the remote_api_shell.py tool included with the SDK, allowing you to test things from a local Python shell.

提交回复
热议问题