Пример #1
0
 def set_rf(rf_choice, default):
     rformat = upper(get_formdata(request).get('rformat', default));
     g.rformat = rformat if (rformat in rf_choice) else default
Пример #2
0
 def inject_formdata():
     g.formdata = get_formdata(request)