| Resource | Value |
|---|---|
| User CPU time | 150.371 msec |
| System CPU time | 0.788 msec |
| Total CPU time | 151.159 msec |
| Elapsed time | 223.052 msec |
| Context switches | 81 voluntary, 1 involuntary |
| Timing attribute | Timeline | Milliseconds since navigation start (+length) |
|---|
| Query | Timeline | Time (ms) | Action | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SELECT COUNT(*) AS "__count"
FROM "polls_poll" WHERE ("polls_poll"."is_active" AND "polls_poll"."start_date" <= '2026-01-31T08:09:06.786969+00:00'::timestamptz)SELECT ••• FROM "polls_poll" WHERE ("polls_poll"."is_active" AND "polls_poll"."start_date" <= '2026-01-31T08:09:06.786969+00:00'::timestamptz) |
0.23 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(30) polls = paginator.get_page(request.GET.get('page', 1)) /home/nathan/rb/site/./digg_paginator/utils.py in get_page(274) return self.page(page) /home/nathan/rb/site/./digg_paginator/utils.py in page(199) page = super(DiggPaginator, self).page(number, *args, **kwargs) /home/nathan/rb/site/./digg_paginator/utils.py in page(47) return super(ExPaginator, self).page(number) |
|||||||||||||||||||||
|
SELECT "countries_plus_country"."iso",
"countries_plus_country"."iso3", "countries_plus_country"."iso_numeric", "countries_plus_country"."fips", "countries_plus_country"."name", "countries_plus_country"."capital", "countries_plus_country"."area", "countries_plus_country"."population", "countries_plus_country"."continent", "countries_plus_country"."tld", "countries_plus_country"."currency_code", "countries_plus_country"."currency_symbol", "countries_plus_country"."currency_name", "countries_plus_country"."phone", "countries_plus_country"."postal_code_format", "countries_plus_country"."postal_code_regex", "countries_plus_country"."languages", "countries_plus_country"."geonameid", "countries_plus_country"."neighbours", "countries_plus_country"."equivalent_fips_code" FROM "countries_plus_country" WHERE "countries_plus_country"."iso" = 'US' LIMIT 21SELECT ••• FROM "countries_plus_country" WHERE "countries_plus_country"."iso" = 'US' LIMIT 21 |
0.16 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./rb/templatetags/rb_geo.py in geo_currency(20) geo_data = user.geo.get_user_currency() /home/nathan/rb/site/./geo/geo.py in get_user_currency(252) country = Country.objects.get(iso=country_code)
/home/nathan/rb/site/rb/templates/rb/base_root.html |
|||||||||||||||||||||
|
SELECT "polls_poll"."id",
"polls_poll"."start_date", "polls_poll"."end_date", "polls_poll"."description", "polls_poll"."poll_type", "polls_poll"."is_active" FROM "polls_poll" WHERE ("polls_poll"."is_active" AND "polls_poll"."start_date" <= '2026-01-31T08:09:06.786969+00:00'::timestamptz) ORDER BY "polls_poll"."start_date" DESC LIMIT 10 OFFSET 50SELECT ••• FROM "polls_poll" WHERE ("polls_poll"."is_active" AND "polls_poll"."start_date" <= '2026-01-31T08:09:06.786969+00:00'::timestamptz) ORDER BY "polls_poll"."start_date" DESC LIMIT 10 OFFSET 50 |
0.16 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls})
/home/nathan/rb/site/digg_paginator/templates/rb/render_paginator.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
4 similar queries.
"polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 17) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 17) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASC |
10.11 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(77) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_list.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '17' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '17' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
5.67 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 17)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 17) |
0.19 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
4 similar queries.
"polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 16) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 16) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASC |
0.91 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(77) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_list.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '16' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '16' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
5.81 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 16)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 16) |
0.18 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
4 similar queries.
"polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 15) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 15) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASC |
0.76 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(77) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_list.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '15' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '15' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
8.61 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 15)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 15) |
0.16 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 14) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 14) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.78 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 14) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 14) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.38 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '14' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '14' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
3.13 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 14)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 14) |
0.14 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
4 similar queries.
"polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 13) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 13) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value", "polls_polloptions"."color" ORDER BY "polls_polloptions"."value" ASC |
1.14 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(77) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_list.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '13' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '13' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
4.94 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 13)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 13) |
0.15 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 12) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 12) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
1.09 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 12) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 12) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.53 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '12' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '12' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
4.15 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 12)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 12) |
0.19 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 11) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 11) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
1.39 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 11) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 11) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.58 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '11' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '11' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
4.00 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 11)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 11) |
0.32 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 10) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 10) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.60 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 10) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 10) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.45 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '10' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '10' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
3.30 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 10)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 10) |
0.18 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 9) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 9) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
1.89 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 9) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 9) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.81 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '9' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '9' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
6.45 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 9)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 9) |
0.24 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 8) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 8) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.39 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT "polls_pollvote"."option_id",
12 similar queries.
Duplicated 2 times.
"polls_polloptions"."text", "polls_polloptions"."value", COUNT("polls_pollvote"."id") AS "num" FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 8) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESCSELECT ••• FROM "polls_pollvote" INNER JOIN "polls_polloptions" ON ("polls_pollvote"."option_id" = "polls_polloptions"."id") WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 8) GROUP BY "polls_pollvote"."option_id", "polls_polloptions"."text", "polls_polloptions"."value" ORDER BY 4 DESC |
0.35 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_results(85) total = sum(v['num'] for v in votes)
/home/nathan/rb/site/polls/templates/polls/poll_options_selection.html |
|||||||||||||||||||||
|
SELECT COUNT(*) AS "__count"
10 similar queries.
FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '8' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed")SELECT ••• FROM "threadedcomments_comment" INNER JOIN "django_comments" ON ("threadedcomments_comment"."comment_ptr_id" = "django_comments"."id") WHERE ("django_comments"."content_type_id" = 196 AND "django_comments"."object_pk" = '8' AND "django_comments"."site_id" = 1 AND "django_comments"."is_public" AND NOT "django_comments"."is_removed") |
3.06 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/venv_rb310/lib/python3.10/site-packages/django_comments/templatetags/comments.py in render(72) context[self.as_varname] = self.get_context_value_from_queryset(context, qs) /home/nathan/venv_rb310/lib/python3.10/site-packages/threadedcomments/templatetags/threadedcomments_tags.py in get_context_value_from_queryset(116) return qs.count()
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
|
SELECT COUNT("polls_pollvote"."id") AS "id__count"
10 similar queries.
FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 8)SELECT ••• FROM "polls_pollvote" WHERE ("polls_pollvote"."option_id" IS NOT NULL AND "polls_pollvote"."poll_id" = 8) |
0.15 | ||||||||||||||||||||
|
Connection: default Transaction status: Idle /home/nathan/rb/site/./polls/views.py in all_polls(36) return render(request, 'polls/all_polls.html', {'polls': polls}) /home/nathan/rb/site/./polls/models.py in get_num_votes(92) return PollVote.objects.filter(poll=self, option__isnull=False).aggregate(Count('id'))['id__count'] or 0
/home/nathan/rb/site/polls/templates/polls/render_poll.html |
|||||||||||||||||||||
No messages logged.