def add_link(): return u"<a class='new' new='%s?_lock=1&%s=%s' href='javascript:void(0)'>%s</a>"%(\ urls.get_model_new_url(master_field.model), filter, key, ugettext(u'设置'))
def add_link(): return u"<a class='new' href='%s?_lock=1&%s=%s'>%s</a>"%(\ urls.get_model_new_url(master_field.model), filter, key, ugettext('Add'))