1 from django import template
2 from ..models import Competence
4 register = template.Library()
8 def find_competence(text):
10 return Competence.from_text(text)
15 def url_for_level(comp, level):
17 return comp.for_level(level).get_absolute_url()
19 return comp.get_absolute_url()