id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 4685,"""View on site"" links in admin don't work for an https site",cbrand@…,Adrian Holovaty,"This was mentioned as a side-note in http://code.djangoproject.org/ticket/634. My site is entirely served through https. When I added get_absolute_url() methods to my models, the ""view on site"" links appeared in the admin, as expected. Although they initially go to an https location (with ""r"" and some numbers), that then redirects to an http link, which doesn't work. If it used ""https:"" instead of ""http:"", it would work. The problem seems to be the hard-coded ""http"" at line 64 of django/views/defaults.py : return http.HttpResponseRedirect('http://%s%s' % (object_domain, absurl)) I don't know how to figure out whether ""http"" or ""https"" is appropriate, or I'd submit a patch...",,closed,contrib.admin,dev,,fixed,,treborhudson@…,Unreviewed,1,0,0,0,0,0