

def get_context_data(self, **kwargs):
    context = super(AddRouterRuleView, self).get_context_data(**kwargs)
    context['router'] = self.get_object()
    return context

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/project/routers/extensions/routerrules/views.py AddRouterRuleView.get_context_data/original