summaryrefslogtreecommitdiffabout
authorWojciech Polak <polak@gnu.org>2013-04-18 15:53:07 (GMT)
committer Wojciech Polak <polak@gnu.org>2013-04-18 15:53:07 (GMT)
commit73eb07dbd4fe124cad62335eabcbe748fe9052e5 (patch) (side-by-side diff)
treef74eeff30280255c03e871f5044f56fe0d1ff2ed
parent26601d8e796a9c3aaaffe6a5a1d69a0b78374c28 (diff)
downloadglifestream-73eb07dbd4fe124cad62335eabcbe748fe9052e5.tar.gz
glifestream-73eb07dbd4fe124cad62335eabcbe748fe9052e5.tar.bz2
Minor change.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--stream/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/views.py b/stream/views.py
index d4e0a0b..78c5569 100644
--- a/stream/views.py
+++ b/stream/views.py
@@ -329,7 +329,7 @@ def index(request, **args):
gls_link = entries[0].gls_link
if gls_link != request.path:
return HttpResponsePermanentRedirect(gls_link)
- page['canonical_link'] = '%s%s' % (page['site_url'], gls_link)
+ page['canonical_link'] = '%s%s' % (settings.BASE_URL, gls_link)
else:
raise Http404

Return to:

Send suggestions and report system problems to the System administrator.