Django and App Engine

前端 未结 7 1481
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-08 19:57

I wanted to check the status of running Django on the Google App Engine currently and what the benefits of running django on GAE over simply using Webapp.

Django mai

相关标签:
7条回答
  • 2020-12-08 20:40

    The GoogleAppEngine (GAE) Python 2.7 runtime provides several third-party libraries that your application can use, in addition to the Python standard library, GAE tools, and GAE Python runtime environment. One of them is Django. The below is copied from the GAE docs page on third-party libraries:

    To use Django in Python 2.7, specify the WSGI application and Django library in app.yaml:

    ...
    handlers:
    - url: /.*
      script: main.app  # a WSGI application in the main module's global scope
    
    libraries:
    - name: django
      version: "1.2"
    
    0 讨论(0)
提交回复
热议问题