@Jonathan: Probably you know this already, but have you seen the 
'add_adapter' method for extending the pyramid JSON renderer? One of the 
first things I do when I start a new Pyramid-project is to add an adapter 
for datetime.

Am Sonntag, 7. Juni 2015 17:21:17 UTC+2 schrieb Jonathan Vanasco:
>
> I usually convert to a dict in the view and then have a custom JSON 
> encoder instead of the pyramid one.  The default encoder (in the json 
> package) doesn't handle a lot of datatypes (like datetime) so it was 
> easiest to replace.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to