def request_album_creation(): email = request.form['email'] photosCount = len(request.form) urls = [] for index in range(0, photosCount - 1): key = 'photos_%s' % index urls.append(request.form[key]) album = {'sent_to': email, 'photos': urls} request_album(album) return jsonify()
def request_album_creation(): email = request.form['email'] photosCount = len(request.form) urls = [] for index in range(0, photosCount - 1): key = 'photos_%s' % index urls.append(request.form[key]) album = {'sent_to': email, 'photos': urls} request_album(album) return render_template('powyslaniu.html', uploadButtonName="send")
def request_album_creation(): email = request.form['email'] photosCount = len(request.form) urls = [] for index in range(0, photosCount-1): key = 'photos_%s' % index urls.append(request.form[key]) album = { 'sent_to': email, 'photos': urls } request_album(album) return jsonify()
def request_album_creation(): email = request.form['email'] photosCount = len(request.form) urls = [] for index in range(0, photosCount-1): key = 'photos_%s' % index urls.append(request.form[key]) album = { 'sent_to': email, 'photos': urls } request_album(album) return render_template('powyslaniu.html', uploadButtonName="send")