Javier,
Tested and not working.
'builtin_function_or_method' object has no
attribute '__getitem__'
request.post_vars
Any ideas?
Thanks for your reply,
El miércoles, 20 de noviembre de 2019, 12:35:38 (UTC-5), Javier Pepe
escribió:
>
> You need use:
>
>var = json.loads (
You need use:
var = json.loads ( request.post_vars.items[*"*json1*"*] )
El mié., 20 de nov. de 2019 a la(s) 14:08, Patito Feo (
patitofeo...@gmail.com) escribió:
> Hi,
>
> Ive been trying to pass an object with keys to the controller. But i
> havent been able to extract the request.vars.
>
Hi,
Ive been trying to pass an object with keys to the controller. But i havent
been able to extract the request.vars.
Here is my view:
var Cars = {}
Cars.make = 'Ford';
Cars.model = 'Mustang';
Cars.year = 1969;
$.post( "{{=URL('default', 'transcriptor')}}", //request.post_vars.json1
{
3 matches
Mail list logo