Esempio n. 1
0
def result_list_tag(parser, token):
    return InclusionAdminNode(
        parser, token,
        func=result_list,
        template_name='snapshots_grid.html',
        takes_context=False,
    )
Esempio 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,
    )
Esempio 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,
    )
Esempio n. 4
0
def prepopulated_fields_js_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=prepopulated_fields_js,
        template_name="prepopulated_fields_js.html",
    )
Esempio 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',
    )
Esempio 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',
    )
Esempio n. 7
0
def date_hierarchy_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=date_hierarchy,
        template_name='date_hierarchy.html',
        takes_context=False,
    )
Esempio n. 8
0
def pagination_tag(parser, token):
    return InclusionAdminNode(
        parser,
        token,
        func=pagination,
        template_name='pagination.html',
        takes_context=False,
    )
Esempio n. 9
0
def admin_actions_tag(parser, token):
    return InclusionAdminNode(parser,
                              token,
                              func=admin_actions,
                              template_name='actions.html')
Esempio n. 10
0
def search_form_tag(parser, token):
    return InclusionAdminNode(parser,
                              token,
                              func=search_form,
                              template_name='search_form.html',
                              takes_context=False)
Esempio n. 11
0
def submit_row_tag(parser, token):
    return InclusionAdminNode(parser,
                              token,
                              func=submit_row,
                              template_name='submit_line.html')