]> git.openstreetmap.org Git - osqa.git/commitdiff
resolving issue with the HTML links in the email notifications when OSQA is working...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 1 Jul 2011 11:34:25 +0000 (11:34 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 1 Jul 2011 11:34:25 +0000 (11:34 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1087 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/utils/html.py

index 28a6a4b9647fe990dca340d502102c44a542e7ff..441f1f2484f1da677d34421f1b2b52e413a002d6 100644 (file)
@@ -68,7 +68,7 @@ def hyperlink(url, title, **attrs):
     return mark_safe('<a href="%s" %s>%s</a>' % (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)