Bases: openstack_dashboard.dashboards.project.routers.tables.DeleteRouter
-
allowed(request, router=None)[source]
-
base_options = {'__module__': 'openstack_dashboard.dashboards.admin.routers.tables', '__metaclass__': <class 'horizon.tables.actions.BaseActionMetaClass'>, 'data_type_singular': <django.utils.functional.__proxy__ object at 0xf3ff90ec>, 'update': <function update at 0xf52ea6bc>, 'get_success_url': <function get_success_url at 0xf52eaca4>, 'get_policy_target': <function get_policy_target at 0xf52ea844>, 'allowed': <function allowed at 0xf3f39c34>, 'handle': <function handle at 0xf52eacdc>, 'base_options': {'__module__': 'horizon.tables.actions', '__metaclass__': <class 'horizon.tables.actions.BaseActionMetaClass'>, 'data_type_matched': <function data_type_matched at 0xf52ea72c>, 'get_default_classes': <function get_default_classes at 0xf52ea87c>, 'update': <function update at 0xf52eaa3c>, 'get_policy_target': <function get_policy_target at 0xf52ea844>, '_allowed': <function _allowed at 0xf52eabfc>, '__repr__': <function __repr__ at 0xf52ea6f4>, 'allowed': <function allowed at 0xf52ea8ec>, 'get_default_attrs': <function get_default_attrs at 0xf52eae64>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0xf52ea924>}, '__init__': <function __init__ at 0xf52ea80c>, 'name': 'delete', 'data_type_plural': <django.utils.functional.__proxy__ object at 0xf3ff910c>, 'data_type_matched': <function data_type_matched at 0xf52ea72c>, 'get_default_classes': <function get_default_classes at 0xf52ea764>, 'get_param_name': <function get_param_name at 0xf52ea79c>, '_allowed': <function _allowed at 0xf52ead84>, '_get_action_name': <function _get_action_name at 0xf52ead4c>, '__repr__': <function __repr__ at 0xf52ea6f4>, 'redirect_url': 'horizon:admin:routers:index', 'action': <function action at 0xf52eab54>, 'get_default_attrs': <function get_default_attrs at 0xf52eae64>, '__doc__': 'Doc missing.', 'delete': <function delete at 0xf3f39bfc>}
-
delete(request, obj_id)[source]
-
redirect_url = 'horizon:admin:routers:index'