From: jordan Date: Fri, 1 Jul 2011 11:34:25 +0000 (+0000) Subject: resolving issue with the HTML links in the email notifications when OSQA is working... X-Git-Tag: live~226 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/357c0f7a284976bb331ce4050ed3ba8f83cdbd1e?hp=202b558604135c4c52b3e80b84c3bb1493f6498a resolving issue with the HTML links in the email notifications when OSQA is working in subdir install mode git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1087 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/utils/html.py b/forum/utils/html.py index 28a6a4b..441f1f2 100644 --- a/forum/utils/html.py +++ b/forum/utils/html.py @@ -68,7 +68,7 @@ def hyperlink(url, title, **attrs): return mark_safe('%s' % (url, " ".join('%s="%s"' % i for i in attrs.items()), title)) def objlink(obj, **attrs): - return hyperlink(settings.APP_BASE_URL + obj.get_absolute_url(), unicode(obj), **attrs) + return hyperlink(settings.APP_URL + obj.get_absolute_url(), unicode(obj), **attrs)