Bugfix: working syntax highlighting.
Bugfix: working syntax highlighting.
diff --git a/mgmt/templatetags/prj_filters.py b/mgmt/templatetags/prj_filters.py
index 082a8c9..0186efc 100644
--- a/mgmt/templatetags/prj_filters.py
+++ b/mgmt/templatetags/prj_filters.py
@@ -4,6 +4,10 @@ import markdown as MD
from django import template
register = template.Library()
+import sys
+from os.path import dirname
+sys.path.append(dirname(__file__))
+
@register.filter('link')
def link(obj,type='projects'):
return "<a href='/%s/%s/'>%s</a>" % (type,obj.id,obj.name)