Parsing json.dumps to HighCharts in Django

2013-12-22 Thread Filipe Ferminiano Rodrigues
I'm trying to create a pie chart with HighCharts with Django (Mac maverick). This is my views.py def piechart(request): responses_pie = AnswerRadio.objects.values("body").annotate(Count("id")) res = [] for cat in responses_pie: res.append([

Parsing json.dumps to HighCharts in Django

2013-12-22 Thread Filipe Ferminiano Rodrigues
This is my views.py def piechart(request): responses_pie = AnswerRadio.objects.values("body").annotate(Count("id")) res = [] for cat in responses_pie: res.append([ cat["body"], cat["id__count"], ])

Re: ViewDoesNotExist at /admin/

2013-12-22 Thread Gabriele Stoia
Hi Russel, thank you for your e-mail !!! I thought that something was connected with MPTT or FeinCMS... I'll try to work out ! What I really don't understand why so many problem when you in deployment ??? In local everything was super fine !!! I wil consult FeinCMS forum. Thanks again for your

Re: ViewDoesNotExist at /admin/

2013-12-22 Thread Russell Keith-Magee
Hi Gabriele, That's not an error I immediately recognise the cause of; however, from the stack trace, it suggests that something in FeinCMS has overridden something in admin, but has done so in a way that isn't compatible with Django itself. Unfortunately, I can't tell if this is a fault in FeinCM

Re: ViewDoesNotExist at /admin/

2013-12-22 Thread Gabriele Stoia
Hi Russel, No problem, I found some information on-line and I fixed. now it works fine. I had to modify urls.py in photologue. I'm sorry to bother you... but I have another problem in my admin when I try to get into the pages: TypeError at /admin/gabryandjennyApp/page/ get_query_set() tak