Setting Django_nonrel's djangoappengine project for python 2.7 runtime in SDK 1.5.5

GAE supported python 2.7 since SDK 1.5.5. A little changes to project's configure was to modify app.yaml file only.

Please refer to this provided by Waldemar Kornewald:
https://bitbucket.org/wkornewald/allbuttonspressed/changeset/26f58b621703

Other relation information can attentive this discussion:


My app.yaml:
application:
version:
runtime: python27
api_version: 1
threadsafe: true

builtins:
- remote_api: on

inbound_services:
- warmup

handlers:
- url: /_ah/queue/deferred
script: djangoappengine.deferred.handler
login: admin

- url: /_ah/stats/.*
script: djangoappengine.appstats.ui

- url: /media/admin
static_dir: django/contrib/admin/media
expiration: '0'

- url: /media
static_dir: _generated_media/
expiration: '365d'

- url: /.*
script: djangoappengine.main.main

留言

熱門文章