equal
deleted
inserted
replaced
468 redirect = params['delete_redirect'] |
468 redirect = params['delete_redirect'] |
469 |
469 |
470 return http.HttpResponseRedirect(redirect) |
470 return http.HttpResponseRedirect(redirect) |
471 |
471 |
472 def select(self, request, view, redirect, page_name=None, params=None): |
472 def select(self, request, view, redirect, page_name=None, params=None): |
473 """Displays a list page allowing the user to select an entity |
473 """Displays a list page allowing the user to select an entity. |
474 |
474 |
475 After having selected the Sponsor, the user is redirected to the |
475 After having selected the Sponsor, the user is redirected to the |
476 'create a new program' page with the scope_path set appropriately. |
476 'create a new program' page with the scope_path set appropriately. |
477 |
477 |
478 Params usage: |
478 Params usage: |
586 template = params['create_template'] |
586 template = params['create_template'] |
587 |
587 |
588 return helper.responses.respond(request, template, context) |
588 return helper.responses.respond(request, template, context) |
589 |
589 |
590 def getParams(self): |
590 def getParams(self): |
591 """Returns this view's params attribute |
591 """Returns this view's params attribute. |
592 """ |
592 """ |
593 |
593 |
594 return self._params |
594 return self._params |
595 |
595 |
596 def getSidebarLinks(self, request, params=None): |
596 def getSidebarLinks(self, request, params=None): |