]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/utils/html.py
Accepting incoming merge of the jambazov feature branch. Mostly includes new bug...
[osqa.git] / forum / utils / html.py
index 6afaf62ac3978f62ad6933b2a29ceb3679ef50c9..bf84e2f641c49c519fe6163f615468f42231c778 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_URL + obj.get_absolute_url(), unicode(obj), **attrs)
+    return hyperlink(settings.APP_BASE_URL + obj.get_absolute_url(), unicode(obj), **attrs)