

def make_user_link(text):
    username = text.group(2)
    return (' <a href="%s">@%s</a>' % (reverse('profile_detail', args=[username]), username))

dataset/ETHPy150Open amarandon/smeuhsocial/apps/microblogging/templatetags/microblogging_tags.py make_user_link/original