On Sat, Jan 1, 2011 at 7:17 PM, Jakob H wrote:
> Hi,
>
> I'm using Satchmo to build a store for a Django-powered webpage.
> Satchmo provides a convenient middleware
> ('satchmo_store.shop.SSLMiddleware.SSLRedirect') which allows me to
> add { 'SSL' : True } arguments to my view specifications (in
Would one of the following work?
1. Hardcore https in the VIEW1 template
2. Write response middleware that, if the request is secure, basically
does s/http/https/g on the response text (this obviously gets all
other URLs as well, which you may not want)
3. Add another MEDIA_URL like variable to se
Hi,
I'm using Satchmo to build a store for a Django-powered webpage.
Satchmo provides a convenient middleware
('satchmo_store.shop.SSLMiddleware.SSLRedirect') which allows me to
add { 'SSL' : True } arguments to my view specifications (in urls.py).
This forwards requests to using the HTTPS protoco
3 matches
Mail list logo