Exemple #1
0
def admin_link_custom(site, model, text, classes='', extra_path=''):
    return link(admin_url_for_class(site, model)+extra_path, text, classes)
Exemple #2
0
def admin_link_for_add(site, model, params=''):
    return link(admin_url_for_class(site, model)+'add/'+params, ' ', 'addlink')