Closed ericswpark closed 1 year ago
Use can use django-debug-toolbar to find the source of the query
Apparently the main page uses some configuration values which I forgot about, which was revealed with django-debug-toolbar
(thanks @sergei-iurchenko !) I've decided to leave them as the page is cached so it's not such a performance concern.
Describe the problem
Sentry is reporting that constance is performing a n + 1 query whenever the main page of my website loads. Strangely the main page does not use any configuration values from constance (as far as I can tell).
Repeating query
System configuration