The "django_wsgi" builtin doesn't enforce SSL by default.  If you need to
restrict requests to SSL only, you can manually specify the script handler
instead of using the builtin:

handlers:
- url: /.*
  script: google.appengine.ext.django.main.app
  secure: always

(This is really the script that the builtin is wiring up:
http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/builtins/django_wsgi/include-python27.yaml
)

On Fri, May 11, 2012 at 11:00 AM, João Silva <
[email protected]> wrote:

> Hi,
>
> I know that GAE provides SSL traffic through appspot.com domains. But
> there aren't code examples that use django.
> My app.yaml is:
>
> application: my_app
> version: 1
> runtime: python27
> api_version: 1
> threadsafe: true
>
> libraries:
> - name: django
>   version: "1.3"
>
> builtins:
> - django_wsgi: on
>
>
> Does anyone knows what do I have to do to use SSL in GAE with Django?
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/-CCwSCt3WtoJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Matt McDonald
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to