django-aggregation
Complex count across many to many field in Django ORM
So I have a set of tasks that can appear in many categories: class TaskGroup(models.Model): name = models.CharField(max_length=200)[详细]
2023-03-15 05:41 分类:问答How to use or extend Django admin to navigate thru aggregated data?
I would like to know how could I extend Django admin in order to be able to navigate the records using aggregated data.[详细]
2023-02-19 12:00 分类:问答Get daily counts of objects from Django
I have a Django model with a created timestamp and I\'d like to get the counts of objects created on each day. I was hoping to use the aggregation functionality in Dja开发者_如何转开发ngo but I can\'t[详细]
2023-02-08 08:41 分类:问答Aggregate feeds and grab image using Django
Im currently have some website running Drupal, using Feeds Image Grabber module (http:/开发者_如何学C/drupal.org/project/feeds_imagegrabber)[详细]
2023-02-06 06:02 分类:问答How to aggregate barchart data for volumes of registrations per day from Django auth?
Django auth User model has a date_joined DateTimeField. Could this be used to aggregate a list with volumes of registrations per day for days (or other time periods) in a daterange? E.g.: [(21.01, 5),[详细]
2023-02-05 14:40 分类:问答Using .aggregate() on a value introduced using .extra(select={...}) in a Django Query?
I\'m trying to get the count of the number of times a player played each week like this: player.game_objects.extra([详细]
2023-02-02 09:33 分类:问答Django: Count objects in a particular month
I have this model: class Person(models.Model): city = models.CharField(max_length=20, blank=True) added_date = models.DateField(default=datetime.date.today)[详细]
2023-01-14 05:42 分类:问答Django - Can you use property as the field in an aggregation function?
I know the short answer because I tried it. Is there any way to accomplish this though (even if only on account of a hack)?[详细]
2023-01-04 01:57 分类:问答Django aggregation on a date range
I have been lurking and learning in here for a while. Now i have a problem that somehow i cannot see an easy solution. In order 开发者_StackOverflow社区to learn django i am bulding an app that basical[详细]
2022-12-31 23:01 分类:问答Django aggregation query on related one-to-many objects
Here is my simplified model: class Item(models.Model): pass class TrackingPoint(models.Model): item = models.ForeignKey(Item)[详细]
2022-12-30 14:53 分类:问答