registrasion/views.py
def render_badge(user):
    ''' Renders a single user's badge. '''

    data = {
        "user": user,
    }

    t = loader.get_template('registrasion/badge.svg')
    return t.render(data)
def render_badge(user):
    ''' Renders a single user's badge. '''

    data = {
        "user": user,
    }

    t = loader.get_template('registrasion/badge.svg')
    return t.render(data)
Renders a single user's badge.