Exemplo n.º 1
0
def result_list_tag(parser, token):
    return InclusionAdminNode(
        parser, token,
        func=result_list,
        template_name='snapshots_grid.html',
        takes_context=False,
    )
Exemplo n.º 2
0
def result_list_tag(parser, token):
    return InclusionAdminNode(
        parser, token,
        func=result_list,
        template_name='change_list_results.html',
        takes_context=False,
    )
Exemplo n.º 3
0
def extractfield_list_tag(parser, token):
    return InclusionAdminNode(
        parser, token,
        func=extractfield_list,
        template_name='seosnap/extractfield_list.html',
        takes_context=False,
    )
Exemplo n.º 4
0
def prepopulated_fields_js_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=prepopulated_fields_js,
        template_name="prepopulated_fields_js.html",
    )
Exemplo n.º 5
0
def submit_row_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=submit_row,
        template_name='auth_access_admin/admin/submit_line.html',
    )
Exemplo n.º 6
0
def change_list_object_tools_tag(parser, token):
    """Display the row of change list object tools."""
    return InclusionAdminNode(
        parser,
        token,
        func=lambda context: context,
        template_name='change_list_object_tools.html',
    )
Exemplo n.º 7
0
def date_hierarchy_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=date_hierarchy,
        template_name='date_hierarchy.html',
        takes_context=False,
    )
Exemplo n.º 8
0
def pagination_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=pagination,
        template_name='pagination.html',
        takes_context=False,
    )
Exemplo n.º 9
0
def admin_actions_tag(parser, token):
    return InclusionAdminNode(parser,
                              token,
                              func=admin_actions,
                              template_name='actions.html')
Exemplo n.º 10
0
def search_form_tag(parser, token):
    return InclusionAdminNode(parser,
                              token,
                              func=search_form,
                              template_name='search_form.html',
                              takes_context=False)
Exemplo n.º 11
0
def submit_row_tag(parser, token):
    return InclusionAdminNode(parser,
                              token,
                              func=submit_row,
                              template_name='submit_line.html')