I am running Django on AppEngine (python 2.7 runtime) using my Cloud SQL. I installed the application as described in Google Cloud SQL Docs Django Support . Everything works fine, but I want to make some of the URLs safe, and I cannot find documentation on how to do this.
Usually you just add "secure: always" to the handler you want to protect, but since I do not specify / script handlers for the application (I assume that the built-in "django_wsgi" does this) there is no place to add a secure setting.
My app.yaml file:
application: app-id
version: 1
runtime: python27
api_version: 1
threadsafe: true
libraries:
- name: django
version: "1.2"
builtins:
- django_wsgi: on
- deferred: on
handlers:
- url: /media
static_dir: media
source
share