hello django users hope you are doing well 

I want to do a highchart using a json file , and that's the problem I am 
facing , I want to create a json file in my views.py based on my columns 
below "countDeliveries"and "Dates"

class mail_item_count_deliveries_perDate(models.Model):
   countDeliveries = models.IntegerField(default=0)
   Dates = models.DateTimeField()


myJSON file should be something like that:
 

[
        [
                Dates,
                countDeliveries
        ],
        [
                1167696000000,
                5
        ],


 
- can you guys help me out 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/65341e88-88b1-480f-9d9a-39ce909ee4da%40googlegroups.com.

Reply via email to