(request, domain, app_id)
return HttpResponse(
        request.app.create_profile(build_profile_id=profile)
    )
See ApplicationBase.create_profile
See ApplicationBase.create_profile
See ApplicationBase . create_profile
def download_profile(request, domain, app_id):
    """
    See ApplicationBase.create_profile

    """
    if not request.app.copy_of:
        username = request.GET.get('username', 'unknown user')
        autogenerate_build(request.app, username)
    else:
        request._always_allow_browser_caching = True
    profile = _get_build_profile_id(request)
    return HttpResponse(
        request.app.create_profile(build_profile_id=profile)
    )
def download_profile ( request , domain , app_id ) : if not request . app . copy_of : username = request . GET . get ( 'username' , 'unknown user' ) autogenerate_build ( request . app , username ) else : request . _always_allow_browser_caching = True profile = _get_build_profile_id ( request ) return HttpResponse ( request . app . create_profile ( build_profile_id = profile ) )