def upload_movies(request): projectName = request.session['projectName'] command = "rsync -av --port 3333 USER_FOLDER/ scipion.cnb.csic.es::mws/" + projectName context = {'command': command, 'logo_scipion_small': getResourceIcon('logo_scipion_small'), } context = base_form(request, context) return render_to_response('upload_movies.html', context)
def upload_movies(request): domain = django_settings.SITE_URL projectName = request.session['projectName'] command = "rsync -av --port 3333 USER_FOLDER/ %s::mws/%s"%(domain, projectName) context = {'command': command, 'logo_scipion_small': getResourceIcon('logo_scipion_small'), } context = base_form(request, context) return render_to_response('upload_movies.html', context)
def upload_movies(request): domain = django_settings.SITE_URL projectName = request.session['projectName'] command = "rsync -av --port 3333 USER_FOLDER/ %s::mws/%s" % (domain, projectName) context = { 'command': command, 'logo_scipion_small': getResourceIcon('logo_scipion_small'), } context = base_form(request, context) return render_to_response('upload_movies.html', context)