@map_project_slug
@map_subproject_slug
def redirect_project_slug(request, project, subproject):
 return HttpResponseRedirect(resolve((subproject or project)))

@ map_project_slug @ map_subproject_slug def redirect_project_slug ( request , project , subproject ) : return HttpResponseRedirect ( resolve ( ( subproject or project ) ) )
handle / -> /en/latest/ directs on subdomains .