From 357c0f7a284976bb331ce4050ed3ba8f83cdbd1e Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 1 Jul 2011 11:34:25 +0000 Subject: [PATCH 1/1] 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 --- forum/utils/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5