changeset 1746 | c99815c27c4d |
parent 1487 | d18c71f4fabe |
child 1860 | 26ce742dbb63 |
--- a/app/soc/views/helper/redirects.py Sun Mar 08 14:36:55 2009 +0000 +++ b/app/soc/views/helper/redirects.py Sun Mar 08 14:37:28 2009 +0000 @@ -269,6 +269,14 @@ return result +def getSlotsRedirect(entity, params): + """Returns the student proposal redirect for the given org and student. + """ + + return'/%s/slots/%s' % ( + params['url_name'], entity.key().name()) + + def getCreateDocumentRedirect(entity, prefix): """Returns the redirect for new documents. """