I apologize in advance if there is an obvious answer this. I'm totally new to Django and still trying to figure things out.
We have a large set of data that will come in through Django - error reports from our product. What I'd like to have in the admin is that rather than showing all the errors, I'd like to show a table that lists all the unique error messages and the total number of those messages. Then when you click on one of those rows, it takes you to a table that shows you the list of errors for that particular message. Is there some way to do what I'm trying to do without writing a custom admin view? >From my research, I believe something like this is the secret to getting my grouping: def queryset(self, request): query_dict = request.GET msg = query_dict.get('msg') return self.model.objects.values('msg').distinct() But when I try to use it, I get 'dict' object has no attribute 'id' Which makes sense, because the resulting objects can't be displayed like a regular error report - since they are groupings, they have no ID. Has anyone had any experience doing this? Thank you. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.