I'd recommend you use all the power of your webserver for this (apache
or nginx or whatever). There should be no specific modifications on
the django site if you do it right.

I think this gui has the fix for what you asked tho:
http://hotsyk.com/blog/2008/11/05/https-django-and-wsgi/

On Thu, Mar 19, 2009 at 3:30 PM, djanm...@gmail.com <djanm...@gmail.com> wrote:
>
> Dear all,
>
> to add 'https' to my application, I followed this steps "http://
> www.djangosnippets.org/snippets/240/",
> and i add {ssl:true} to urls of admin,  but when from browser i acess
> to the http://ip:8000/admin/ i have redirection to https://ip:8000/admin/
> and not acess "transfert of data are interoppted"
> the error is  "  File "/usr/lib/python2.5/site-packages/django/core/
> servers/basehttp.py", line 603, in log_message
>    if self.path.startswith(self.admin_media_prefix) or self.path == '/
> favicon.ico':
> AttributeError: WSGIRequestHandler instance has no attribute 'path'  "
>
> Thank you for any help.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to