

@register.filter(name='qtesturl')
def qtesturl(question):
    qset = question.questionset
    return reverse('questionset', args=(('test:%s' % qset.questionnaire.id), qset.sortid))

dataset/ETHPy150Open seantis/seantis-questionnaire/questionnaire/templatetags/questionnaire.py qtesturl/original