--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.
On 10 Dec 2014, at 13:27, Rosciuc Bogdan <rosciuc...@gmail.com> wrote:My view code:@view_config(route_name = 'declare_usage', renderer = 'declara.jinja2')@view_config(route_name = 'declare_usage_json', renderer = 'json')def declara_consum(request):#Removed code for simplicityval = request.POST.get('room') #I get a "None value in my html" if I change to request.json_body -> I get an error that there is no json to be parsed.
I did use the request.json_body but it gives back an error. The value dosen't reach the view...
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/xSJUW4Bw4_0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discus...@googlegroups.com.