Exemple #1
0
def receiver_registeration():
    user_context = get_pring_context(request)
    bottles = request.form.get("bottles")
    specificity = True if request.form.get("specificity") == "yes" else False
    Request.create_request({'guid': user_context["UserGUID"],'bottles': int(bottles), 'specificity': specificity})
    if specificity:
        raise Exception("Not Implemented")
        #return render_template('register_user_receiver_s.html')
    return render_template('register_user_receiver_complete.html')