@map_project_slug
@map_subproject_slug
def redirect_page_with_filename(request, project, subproject, filename):
 return HttpResponseRedirect(resolve((subproject or project), filename=filename))

@ map_project_slug @ map_subproject_slug def redirect_page_with_filename ( request , project , subproject , filename ) : return HttpResponseRedirect ( resolve ( ( subproject or project ) , filename = filename ) )
redirect /page/file .