def project_embed(request, project_slug):
 project = get_object_or_404(Project.objects.protected(request.user), slug=project_slug)
 version = project.versions.get(slug=LATEST)
 files = version.imported_files.order_by('path')
 return render_to_response('projects/project_embed.html', {'project': project, 'files': files, 'settings': {'GROK_API_HOST': settings.GROK_API_HOST, 'URI': request.build_absolute_uri(location='/').rstrip('/')}}, context_instance=RequestContext(request))

def project_embed ( request , project_slug ) : project = get_object_or_404 ( Project . objects . protected ( request . user ) , slug = project_slug ) version = project . versions . get ( slug = LATEST ) files = version . imported_files . order_by ( 'path' ) return render_to_response ( 'projects/project_embed.html' , { 'project' : project , 'files' : files , 'settings' : { 'GROK_API_HOST' : settings . GROK_API_HOST , 'URI' : request . build_absolute_uri ( location = '/' ) . rstrip ( '/' ) } } , context_instance = RequestContext ( request ) )
have a content api placeholder .