RE: get_absolute_url(), sites and HTTPS

2007-06-21 Thread Chris Brand
> > Is there a way to tell Admin to use HTTPS rather than HTTP for these > links ? > > I guess if you admin site was accessed over https it would work. > Otherwise, no, since it is a relative URL (and then redirected via an > HTTP redirect), so it has to use the same schema (and hostname) as the

RE: get_absolute_url(), sites and HTTPS

2007-06-21 Thread Chris Brand
> But my admin site *is* accessed through https. > The "View on site" button links to a URL like https://[...]/admin/r/11/1/, > but when I click on it, it redirects to http://[...]/[get_absolute_url() > output] I'd guess that it ends up at

Re: get_absolute_url(), sites and HTTPS

2007-06-21 Thread Malcolm Tredinnick
On Thu, 2007-06-21 at 10:45 -0700, Chris Brand wrote: > I've recently been adding get_absolute_url() to my models and using it in my > templates. > In the documentation, it says that this also gives you a free "View on site" > link in the Admin, which it does. > My problem is that clicking that

get_absolute_url(), sites and HTTPS

2007-06-21 Thread Chris Brand
I've recently been adding get_absolute_url() to my models and using it in my templates. In the documentation, it says that this also gives you a free "View on site" link in the Admin, which it does. My problem is that clicking that gives me an HTTP page rather than the HTTPS page which would