On Thursday, 10 October 2013 10:08:18 UTC+1, Marc Aymerich wrote:

> Hi Rafael, thanks ! 
> I forgot to mention that I was already using django-jsonfield 
> https://github.com/bradjasper/django-jsonfield 
> and now I've tried with django-json-field but with the same unfortunate 
> result: 
>
> TimeSerie.objects.filter(type='cpu').values('value') 
> [{'value': 
> '{"scheduled":2,"total":864,"15min":0.38,"1min":0.3,"5min":0.48}'}, 
> {'value': 
> '{"scheduled":2,"total":859,"15min":0.34,"1min":0.23,"5min":0.32}'}, 
> {'value': 
> '{"scheduled":2,"total":849,"15min":0.33,"1min":0.51,"5min":0.32}'}] 
>
> did I missed something? 
>
>  
You need to show how you are storing this value in the first place.
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d9e2aef5-54ce-4e5c-a17d-8b67412d200c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to