add debug toolbar in dev mode
why not add debug bar un dev mode ? i have always this with web framework
PS: thanks wagtail
for example, we can view, our requests are not good:
for count() total packages
SELECT ••• FROM "compare_x86_64"
best is select COUNT(id) FROM "compare_x86_64"
: more speed and only one int in python memory
and we run twice (same request)
SELECT ••• FROM "compare_x86_64" WHERE "compare_x86_64"."packager" LIKE '''%manjaro%'''
SELECT ••• FROM "compare_x86_64" WHERE "compare_x86_64"."packager" LIKE '''%manjaro%''' ORDER BY "compare_x86_64"."name" ASC, "compare_x86_64"."repo" ASC
Edit : forget django-debug-toolbar
in requirements.txt