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([
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"],
])
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
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
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
5 matches
Mail list logo