Фильтры товаров

5 типов фильтров

Наличие

Акции

Категории

Производители

Затяжки (15 вариант{{ attr_values|length|pluralize:"ов" }})

Цвет (64 вариант{{ attr_values|length|pluralize:"ов" }})

Объём (6 вариант{{ attr_values|length|pluralize:"ов" }})

Крепость (29 вариант{{ attr_values|length|pluralize:"ов" }})

Вкус (1437 вариант{{ attr_values|length|pluralize:"ов" }})

Сбросить
Всего товаров: 218
Показано: 11
11 из 218 товаров найдено
Big Bottle Co
В наличии
10,00 BYN

Big Bottle Co

Щелочные жидкости Fantasi
Объём:
120 мл
Крепость:
6 мг
Вкус:
Cinnamon Cream +4
10,00 BYN
Подробнее
COCA COLA
В наличии
8,50 BYN

COCA COLA

Щелочные жидкости Fantasi
Объём:
100 мл
Крепость:
3 мг
Вкус:
Кола, лесные я… +7
8,50 BYN
Подробнее
COCA COLA ICE
В наличии
8,50 BYN

COCA COLA ICE

Щелочные жидкости Fantasi
Объём:
100 мл
Крепость:
3 мг
Вкус:
Кола, лесные я… +7
8,50 BYN
Подробнее
FANTA ICE
В наличии
8,50 BYN

FANTA ICE

Щелочные жидкости Fantasi
Объём:
100 мл
Крепость:
3 мг
Вкус:
LACK +7
8,50 BYN
Подробнее
FANTASI
В наличии
14,50 BYN

FANTASI

Щелочные жидкости Fantasi
Объём:
120 мл
Крепость:
3 мг
Вкус:
Черника, лёд +4
14,50 BYN
Подробнее
FANTASI
В наличии
8,50 BYN

FANTASI

Щелочные жидкости Fantasi
Объём:
60 мл
Крепость:
3 мг
Вкус:
Черника, лёд +4
8,50 BYN
Подробнее
HUMBLE
В наличии
7,50 BYN

HUMBLE

Щелочные жидкости Fantasi
Объём:
60 мл
Крепость:
0 мг
Вкус:
Humble Crumble +5
7,50 BYN
Подробнее
RELL GREEN
В наличии
17,00 BYN

RELL GREEN

Щелочные жидкости E-Liquids Laboratory
Объём:
30 мл
Крепость:
0 + никобустер мг
17,00 BYN
Подробнее
RELL RED
В наличии
10,00 BYN

RELL RED

Щелочные жидкости E-Liquids Laboratory
Объём:
30 мл
Крепость:
20 мг
10,00 BYN
Подробнее
ZENITH
В наличии
8,50 BYN

ZENITH

Щелочные жидкости Fantasi
Объём:
100 мл
Крепость:
3 мг
Вкус:
Draco +5
8,50 BYN
Подробнее
ЧТО НИБУДЬ
В наличии
8,50 BYN

ЧТО НИБУДЬ

Щелочные жидкости DarkVapeLab
Объём:
100 мл
Крепость:
3 мг
Вкус:
Что-нибудь с в… +7
8,50 BYN
Подробнее
DJDT

Версии

Пакет Название Версия
Django 5.2.3
Python 3.12.13
compressor Compressor 4.5.1
debug_toolbar Панель отладки 5.2.0
django_select2 Select2 5.2.3

Время

Потребление ресурсов

Ресурс Значение
User CPU time 1922.965 мс
System CPU time 69.634 мс
Total CPU time 1992.599 мс
Затраченное время 2445.732 мс
Переключений контекста 337 намеренных, 34 вынужденных

Браузерное время

Событие Временная диаграмма С начала навигации в мс (+продолжительность)

Настройки из vape_shop.settings

Параметр Значение
ABSOLUTE_URL_OVERRIDES {}
ADMINS []
ALLOWED_HOSTS ['89.38.131.55', 'localhost', '127.0.0.1']
APPEND_SLASH True
AUTHENTICATION_BACKENDS '********************'
AUTH_PASSWORD_VALIDATORS '********************'
AUTH_USER_MODEL '********************'
BASE_DIR PosixPath('/app')
CACHES {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': 'vape-shop-cache', 'OPTIONS': {'MAX_ENTRIES': 1000}, 'TIMEOUT': 300}}
CACHE_MIDDLEWARE_ALIAS 'default'
CACHE_MIDDLEWARE_KEY_PREFIX '********************'
CACHE_MIDDLEWARE_SECONDS 600
COMPRESSORS {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'}
COMPRESS_CACHEABLE_PRECOMPILERS ()
COMPRESS_CACHE_BACKEND 'default'
COMPRESS_CACHE_KEY_FUNCTION '********************'
COMPRESS_CLEAN_CSS_ARGUMENTS ''
COMPRESS_CLEAN_CSS_BINARY 'cleancss'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS ''
COMPRESS_CLOSURE_COMPILER_BINARY 'java -jar compiler.jar'
COMPRESS_CSS_FILTERS ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter']
COMPRESS_CSS_HASHING_METHOD 'mtime'
COMPRESS_DATA_URI_MAX_SIZE 1024
COMPRESS_DEBUG_TOGGLE None
COMPRESS_ENABLED True
COMPRESS_FILTERS {'css': ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter'], 'js': ['compressor.filters.jsmin.rJSMinFilter']}
COMPRESS_JINJA2_GET_ENVIRONMENT <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x707864782d40>
COMPRESS_JS_FILTERS ['compressor.filters.jsmin.rJSMinFilter']
COMPRESS_MINT_DELAY 30
COMPRESS_MTIME_DELAY 10
COMPRESS_OFFLINE False
COMPRESS_OFFLINE_CONTEXT {'STATIC_URL': '/static/'}
COMPRESS_OFFLINE_MANIFEST 'manifest.json'
COMPRESS_OFFLINE_MANIFEST_STORAGE 'compressor.storage.OfflineManifestFileStorage'
COMPRESS_OFFLINE_MANIFEST_STORAGE_ALIAS 'compressor-offine'
COMPRESS_OFFLINE_TIMEOUT 31536000
COMPRESS_OUTPUT_DIR 'CACHE'
COMPRESS_PARSER 'compressor.parser.AutoSelectParser'
COMPRESS_PRECOMPILERS ()
COMPRESS_REBUILD_TIMEOUT 2592000
COMPRESS_ROOT '/app/static'
COMPRESS_STORAGE 'whitenoise.storage.CompressedManifestStaticFilesStorage'
COMPRESS_STORAGE_ALIAS 'compressor'
COMPRESS_TEMPLATE_FILTER_CONTEXT {'STATIC_URL': '/static/'}
COMPRESS_URL '/static/'
COMPRESS_URL_PLACEHOLDER '/__compressor_url_placeholder__/'
COMPRESS_VERBOSE False
COMPRESS_YUGLIFY_BINARY 'yuglify'
COMPRESS_YUGLIFY_CSS_ARGUMENTS '--terminal'
COMPRESS_YUGLIFY_JS_ARGUMENTS '--terminal'
COMPRESS_YUI_BINARY 'java -jar yuicompressor.jar'
COMPRESS_YUI_CSS_ARGUMENTS ''
COMPRESS_YUI_JS_ARGUMENTS ''
CSRF_COOKIE_AGE 31449600
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_HTTPONLY False
CSRF_COOKIE_NAME 'csrftoken'
CSRF_COOKIE_PATH '/'
CSRF_COOKIE_SAMESITE 'Lax'
CSRF_COOKIE_SECURE False
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS ['http://89.38.131.55', 'https://89.38.131.55', 'http://localhost', 'https://localhost', 'http://127.0.0.1', 'https://127.0.0.1']
CSRF_USE_SESSIONS True
DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': '86.106.181.68', 'NAME': 'vape_django_db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}}
DATABASE_ROUTERS []
DATA_UPLOAD_MAX_MEMORY_SIZE 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS 1000
DATA_UPLOAD_MAX_NUMBER_FILES 100
DATETIME_FORMAT 'N j, Y, P'
DATETIME_INPUT_FORMATS ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M']
DATE_FORMAT 'N j, Y'
DATE_INPUT_FORMATS ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DEBUG_TOOLBAR_CONFIG {'SHOW_COLLAPSED': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x707866034680>}
DEBUG_TOOLBAR_PANELS ['debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel']
DECIMAL_SEPARATOR '.'
DEFAULT_AUTO_FIELD 'django.db.models.BigAutoField'
DEFAULT_CHARSET 'utf-8'
DEFAULT_EXCEPTION_REPORTER 'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FROM_EMAIL 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS []
EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 'localhost'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER ''
EMAIL_PORT 25
EMAIL_SSL_CERTFILE None
EMAIL_SSL_KEYFILE '********************'
EMAIL_SUBJECT_PREFIX '[Django] '
EMAIL_TIMEOUT None
EMAIL_USE_LOCALTIME False
EMAIL_USE_SSL False
EMAIL_USE_TLS False
FILE_UPLOAD_DIRECTORY_PERMISSIONS None
FILE_UPLOAD_HANDLERS ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
FILE_UPLOAD_PERMISSIONS 420
FILE_UPLOAD_TEMP_DIR None
FIRST_DAY_OF_WEEK 0
FIXTURE_DIRS []
FORCE_SCRIPT_NAME None
FORMAT_MODULE_PATH None
FORMS_URLFIELD_ASSUME_HTTPS False
FORM_RENDERER 'django.forms.renderers.DjangoTemplates'
HTTP2_PUSH_ENABLED False
IGNORABLE_404_URLS []
INSTALLED_APPS ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_select2', 'compressor', 'core', 'django.contrib.humanize', 'debug_toolbar']
INTERNAL_IPS []
LANGUAGES [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('ckb', 'Central Kurdish (Sorani)'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('ug', 'Uyghur'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE 'ru'
LANGUAGE_COOKIE_AGE None
LANGUAGE_COOKIE_DOMAIN None
LANGUAGE_COOKIE_HTTPONLY False
LANGUAGE_COOKIE_NAME 'django_language'
LANGUAGE_COOKIE_PATH '/'
LANGUAGE_COOKIE_SAMESITE None
LANGUAGE_COOKIE_SECURE False
LOCALE_PATHS []
LOGGING {'disable_existing_loggers': False, 'formatters': {'simple': {'format': '{levelname} {message}', 'style': '{'}, 'verbose': {'format': '{levelname} {asctime} {module} ' '{message}', 'style': '{'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'INFO'}, 'file': {'class': 'logging.FileHandler', 'encoding': 'utf-8', 'filename': '/app/debug.log', 'formatter': 'verbose', 'level': 'INFO'}}, 'loggers': {'core.middleware': {'handlers': ['file'], 'level': 'INFO', 'propagate': False}, 'django': {'handlers': ['console', 'file'], 'level': 'INFO', 'propagate': False}, 'django.request': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'django.security.csrf': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}}, 'root': {'handlers': ['console', 'file'], 'level': 'WARNING'}, 'version': 1}
LOGGING_CONFIG 'logging.config.dictConfig'
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/accounts/login/'
LOGOUT_REDIRECT_URL None
MANAGERS []
MEDIA_ROOT '/app/media'
MEDIA_URL '/media/'
MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE ['django.middleware.security.SecurityMiddleware', 'core.middleware.FaviconMiddleware', 'django.middleware.gzip.GZipMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.middleware.cache.UpdateCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', 'core.middleware.CSRFDebugMiddleware']
MIGRATION_MODULES {}
MONTH_DAY_FORMAT 'F j'
NUMBER_GROUPING 0
PASSWORD_HASHERS '********************'
PASSWORD_RESET_TIMEOUT '********************'
PREPEND_WWW False
ROOT_URLCONF 'vape_shop.urls'
SECRET_KEY '********************'
SECRET_KEY_FALLBACKS '********************'
SECURE_BROWSER_XSS_FILTER True
SECURE_CONTENT_TYPE_NOSNIFF True
SECURE_CROSS_ORIGIN_OPENER_POLICY 'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS False
SECURE_HSTS_PRELOAD False
SECURE_HSTS_SECONDS 0
SECURE_PROXY_SSL_HEADER None
SECURE_REDIRECT_EXEMPT []
SECURE_REFERRER_POLICY 'strict-origin-when-cross-origin'
SECURE_SSL_HOST None
SECURE_SSL_REDIRECT False
SELECT2_CACHE_BACKEND 'default'
SELECT2_CACHE_PREFIX 'select2_'
SELECT2_CSS ['admin/css/vendor/select2/select2.min.css']
SELECT2_I18N_AVAILABLE_LANGUAGES ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW']
SELECT2_I18N_PATH 'admin/js/vendor/select2/i18n'
SELECT2_JS ['admin/js/vendor/select2/select2.full.min.js']
SELECT2_JSON_ENCODER 'django.core.serializers.json.DjangoJSONEncoder'
SELECT2_THEME 'default'
SERVER_EMAIL 'root@localhost'
SESSION_CACHE_ALIAS 'default'
SESSION_COOKIE_AGE 1209600
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_HTTPONLY True
SESSION_COOKIE_NAME 'sessionid'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SAMESITE 'Lax'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.cached_db'
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE 'vape_shop.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SIGNING_BACKEND 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS []
STATICFILES_DIRS []
STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder']
STATICFILES_MAX_AGE 31536000
STATICFILES_STORAGE 'whitenoise.storage.CompressedManifestStaticFilesStorage'
STATIC_ROOT '/app/static'
STATIC_URL '/static/'
STORAGES {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TELEGRAM_ADMIN_CHAT_IDS ['363020721', '2089729733']
TELEGRAM_BOT_TOKEN '********************'
TELEGRAM_MESSAGE_DELAY 0.1
TELEGRAM_RETRY_ATTEMPTS 3
TELEGRAM_RETRY_DELAY 1.0
TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}]
TESTING False
TEST_NON_SERIALIZED_APPS []
TEST_RUNNER 'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE 'Europe/Minsk'
USE_ETAGS True
USE_HTTPS False
USE_I18N True
USE_THOUSAND_SEPARATOR False
USE_TZ True
USE_X_FORWARDED_HOST False
USE_X_FORWARDED_PORT False
WHITENOISE_AUTOREFRESH True
WHITENOISE_MIMETYPES {'.css': 'text/css', '.js': 'application/javascript', '.json': 'application/json', '.svg': 'image/svg+xml', '.txt': 'text/plain', '.xml': 'application/xml'}
WHITENOISE_USE_FINDERS True
WSGI_APPLICATION 'vape_shop.wsgi.application'
X_FRAME_OPTIONS 'DENY'
YEAR_MONTH_FORMAT 'F Y'

Заголовки

Заголовки запроса

Заголовок Значение
Accept */*
Accept-Encoding gzip, br, zstd, deflate
Cache-Control max-age=0
Connection close
Host 89.38.131.55
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Via 1.1 squid-proxy-5b5d847c96-w8vv6 (squid/6.10)
X-Forwarded-For 10.9.106.52, 216.73.216.33
X-Forwarded-Proto http
X-Real-Ip 216.73.216.33

Заголовки ответа

Заголовок Значение
Cache-Control max-age=600
Content-Length 1333993
Content-Type text/html; charset=utf-8
Expires Thu, 09 Apr 2026 06:43:40 GMT
Vary Cookie
X-Frame-Options DENY

WSGI-окружение

Так как WSGI-окружение наследует окружение сервера, ниже отображены лишь те из переменных, которые важны для нужд отладки.

Заголовок Значение
PATH_INFO /catalog/
QUERY_STRING categories=263
REMOTE_ADDR 172.17.0.1
REQUEST_METHOD GET
SCRIPT_NAME
SERVER_NAME 0.0.0.0
SERVER_PORT 8000
SERVER_PROTOCOL HTTP/1.0
SERVER_SOFTWARE gunicorn/22.0.0

Запрос

View

View функция Аргументы Именованные аргументы URL Name
core.views.catalog_view () {} core:catalog

Нет cookies

Нет данных в сессии

GET

Переменная Значение
'categories' '263'

Нет POST данных

SQL-запросы из 1 соединения

  • default 417,76 ms (240 запросов включая 224 похожий и 75 дубликаты )
Запрос Временная диаграмма Время (мс) Действие
SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."id" IN (263)
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."id" IN (263) ORDER BY "core_category"."name" ASC
2,93

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(33)
  filtered_queryset = FilterService.apply_all_filters(base_queryset, filters)

/app/core/services/filter_service.py in apply_all_filters(147)
  queryset = cls.apply_category_filters(queryset, filters)

/app/core/services/filter_service.py in apply_category_filters(67)
  all_category_ids = cls._get_category_ids_with_children(category_ids)

/app/core/services/filter_service.py in _get_category_ids_with_children(361)
  for category in selected_categories:

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 263
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 263 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 4 раз.
1,33

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(33)
  filtered_queryset = FilterService.apply_all_filters(base_queryset, filters)

/app/core/services/filter_service.py in apply_all_filters(147)
  queryset = cls.apply_category_filters(queryset, filters)

/app/core/services/filter_service.py in apply_category_filters(67)
  all_category_ids = cls._get_category_ids_with_children(category_ids)

/app/core/services/filter_service.py in _get_category_ids_with_children(363)
  for child in category.children.all():

SELECT DISTINCT "core_product"."id",
       "core_product"."category_id",
       "core_product"."name",
       "core_product"."slug",
       "core_product"."manufacturer_id",
       "core_product"."description",
       "core_product"."main_image",
       "core_product"."price",
       "core_product"."available",
       "core_product"."is_new",
       "core_product"."is_sale",
       "core_product"."discount_percent",
       "core_product"."created_at",
       "core_product"."updated_at",
       "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at",
       "core_manufacturer"."id",
       "core_manufacturer"."name",
       "core_manufacturer"."slug",
       "core_manufacturer"."logo",
       "core_manufacturer"."description"
  FROM "core_product"
 INNER JOIN "core_category"
    ON ("core_product"."category_id" = "core_category"."id")
  LEFT OUTER JOIN "core_manufacturer"
    ON ("core_product"."manufacturer_id" = "core_manufacturer"."id")
 WHERE ("core_product"."available" AND "core_product"."category_id" IN (263))
 ORDER BY "core_product"."name" ASC
SELECT ••• FROM "core_product" INNER JOIN "core_category" ON ("core_product"."category_id" = "core_category"."id") LEFT OUTER JOIN "core_manufacturer" ON ("core_product"."manufacturer_id" = "core_manufacturer"."id") WHERE ("core_product"."available" AND "core_product"."category_id" IN (263)) ORDER BY "core_product"."name" ASC
5,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(39)
  cls.add_min_price_to_products(sorted_queryset)

/app/core/services/product_service.py in add_min_price_to_products(181)
  for product in products_queryset:

SELECT "core_productattributevalue"."id",
       "core_productattributevalue"."product_id",
       "core_productattributevalue"."attribute_value_id",
       "core_productattributevalue"."available",
       "core_productattributevalue"."position"
  FROM "core_productattributevalue"
 INNER JOIN "core_attributevalue"
    ON ("core_productattributevalue"."attribute_value_id" = "core_attributevalue"."id")
 WHERE "core_productattributevalue"."product_id" IN (397, 399, 400, 402, 395, 396, 398, 308, 309, 401, 403)
 ORDER BY "core_productattributevalue"."position" ASC,
          "core_attributevalue"."position" ASC
SELECT ••• FROM "core_productattributevalue" INNER JOIN "core_attributevalue" ON ("core_productattributevalue"."attribute_value_id" = "core_attributevalue"."id") WHERE "core_productattributevalue"."product_id" IN (397, 399, 400, 402, 395, 396, 398, 308, 309, 401, 403) ORDER BY "core_productattributevalue"."position" ASC, "core_attributevalue"."position" ASC
3,43

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(39)
  cls.add_min_price_to_products(sorted_queryset)

/app/core/services/product_service.py in add_min_price_to_products(181)
  for product in products_queryset:

SELECT "core_attributevalue"."id",
       "core_attributevalue"."attribute_type_id",
       "core_attributevalue"."value",
       "core_attributevalue"."position"
  FROM "core_attributevalue"
 WHERE ("core_attributevalue"."id") IN ((971), (1258), (1712), (1892), (1115), (78), (73), (79), (81), (77), (1126), (973), (92), (65), (752), (763), (1893), (1259), (972), (1713), (1116), (1123), (753), (965), (1714), (1117), (1124), (1894), (1260), (754), (1715), (1261), (1125), (1895), (966), (1118), (755), (967), (1119), (1262), (1716), (1896), (724), (756), (1717), (968), (1120), (1263), (1897), (1121), (1898), (970), (969), (1122), (1899))
SELECT ••• FROM "core_attributevalue" WHERE ("core_attributevalue"."id") IN ((971), (1258), (1712), (1892), (1115), (78), (73), (79), (81), (77), (1126), (973), (92), (65), (752), (763), (1893), (1259), (972), (1713), (1116), (1123), (753), (965), (1714), (1117), (1124), (1894), (1260), (754), (1715), (1261), (1125), (1895), (966), (1118), (755), (967), (1119), (1262), (1716), (1896), (724), (756), (1717), (968), (1120), (1263), (1897), (1121), (1898), (970), (969), (1122), (1899))
2,10

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(39)
  cls.add_min_price_to_products(sorted_queryset)

/app/core/services/product_service.py in add_min_price_to_products(181)
  for product in products_queryset:

SELECT "core_attributetype"."id",
       "core_attributetype"."name",
       "core_attributetype"."slug",
       "core_attributetype"."is_filterable",
       "core_attributetype"."unit",
       "core_attributetype"."position"
  FROM "core_attributetype"
 WHERE ("core_attributetype"."id") IN ((18), (19), (20))
SELECT ••• FROM "core_attributetype" WHERE ("core_attributetype"."id") IN ((18), (19), (20))
1,92

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(39)
  cls.add_min_price_to_products(sorted_queryset)

/app/core/services/product_service.py in add_min_price_to_products(181)
  for product in products_queryset:

SELECT "core_pricetier"."id",
       "core_pricetier"."product_id",
       "core_pricetier"."quantity",
       "core_pricetier"."price"
  FROM "core_pricetier"
 WHERE "core_pricetier"."product_id" IN (397, 399, 400, 402, 395, 396, 398, 308, 309, 401, 403)
 ORDER BY "core_pricetier"."quantity" ASC
SELECT ••• FROM "core_pricetier" WHERE "core_pricetier"."product_id" IN (397, 399, 400, 402, 395, 396, 398, 308, 309, 401, 403) ORDER BY "core_pricetier"."quantity" ASC
2,00

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(39)
  cls.add_min_price_to_products(sorted_queryset)

/app/core/services/product_service.py in add_min_price_to_products(181)
  for product in products_queryset:

SELECT ("core_product_tags"."product_id") AS "_prefetch_related_val_product_id",
       "core_tag"."id",
       "core_tag"."name",
       "core_tag"."slug"
  FROM "core_tag"
 INNER JOIN "core_product_tags"
    ON ("core_tag"."id" = "core_product_tags"."tag_id")
 WHERE "core_product_tags"."product_id" IN (397, 399, 400, 402, 395, 396, 398, 308, 309, 401, 403)
 ORDER BY "core_tag"."name" ASC
SELECT ••• FROM "core_tag" INNER JOIN "core_product_tags" ON ("core_tag"."id" = "core_product_tags"."tag_id") WHERE "core_product_tags"."product_id" IN (397, 399, 400, 402, 395, 396, 398, 308, 309, 401, 403) ORDER BY "core_tag"."name" ASC
2,10

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(39)
  cls.add_min_price_to_products(sorted_queryset)

/app/core/services/product_service.py in add_min_price_to_products(181)
  for product in products_queryset:

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."available"
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."available"
2,47

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(43)
  'total_products_count': base_queryset.count(),

SELECT "core_attributetype"."id",
       "core_attributetype"."name",
       "core_attributetype"."slug",
       "core_attributetype"."is_filterable",
       "core_attributetype"."unit",
       "core_attributetype"."position"
  FROM "core_attributetype"
 WHERE "core_attributetype"."is_filterable"
 ORDER BY "core_attributetype"."position" ASC,
          "core_attributetype"."name" ASC
SELECT ••• FROM "core_attributetype" WHERE "core_attributetype"."is_filterable" ORDER BY "core_attributetype"."position" ASC, "core_attributetype"."name" ASC
1,65

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(187)
  for attr_type in attribute_types:

SELECT DISTINCT "core_attributevalue"."id",
       "core_attributevalue"."attribute_type_id",
       "core_attributevalue"."value",
       "core_attributevalue"."position",
       "core_attributetype"."position",
       "core_attributetype"."name"
  FROM "core_attributevalue"
 INNER JOIN "core_attributetype"
    ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id")
 INNER JOIN "core_productattributevalue"
    ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id")
 WHERE ("core_attributevalue"."attribute_type_id" = 23 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available"))
 ORDER BY "core_attributetype"."position" ASC,
          "core_attributetype"."name" ASC,
          "core_attributevalue"."position" ASC,
          "core_attributevalue"."value" ASC
SELECT ••• FROM "core_attributevalue" INNER JOIN "core_attributetype" ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id") INNER JOIN "core_productattributevalue" ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id") WHERE ("core_attributevalue"."attribute_type_id" = 23 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available")) ORDER BY "core_attributetype"."position" ASC, "core_attributetype"."name" ASC, "core_attributevalue"."position" ASC, "core_attributevalue"."value" ASC
5 похожих запросов.
3,09

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(211)
  CacheService.set_cached_attribute_values(base_queryset, filters, available_attributes)

/app/core/services/cache_service.py in set_cached_attribute_values(175)
  cache.set(cache_key, values, cls.CACHE_TIMEOUTS['attribute_values'])

/usr/local/lib/python3.12/site-packages/django/core/cache/backends/locmem.py in set(54)
  pickled = pickle.dumps(value, self.pickle_protocol)

SELECT DISTINCT "core_attributevalue"."id",
       "core_attributevalue"."attribute_type_id",
       "core_attributevalue"."value",
       "core_attributevalue"."position",
       "core_attributetype"."position",
       "core_attributetype"."name"
  FROM "core_attributevalue"
 INNER JOIN "core_attributetype"
    ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id")
 INNER JOIN "core_productattributevalue"
    ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id")
 WHERE ("core_attributevalue"."attribute_type_id" = 21 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available"))
 ORDER BY "core_attributetype"."position" ASC,
          "core_attributetype"."name" ASC,
          "core_attributevalue"."position" ASC,
          "core_attributevalue"."value" ASC
SELECT ••• FROM "core_attributevalue" INNER JOIN "core_attributetype" ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id") INNER JOIN "core_productattributevalue" ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id") WHERE ("core_attributevalue"."attribute_type_id" = 21 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available")) ORDER BY "core_attributetype"."position" ASC, "core_attributetype"."name" ASC, "core_attributevalue"."position" ASC, "core_attributevalue"."value" ASC
5 похожих запросов.
3,50

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(211)
  CacheService.set_cached_attribute_values(base_queryset, filters, available_attributes)

/app/core/services/cache_service.py in set_cached_attribute_values(175)
  cache.set(cache_key, values, cls.CACHE_TIMEOUTS['attribute_values'])

/usr/local/lib/python3.12/site-packages/django/core/cache/backends/locmem.py in set(54)
  pickled = pickle.dumps(value, self.pickle_protocol)

SELECT DISTINCT "core_attributevalue"."id",
       "core_attributevalue"."attribute_type_id",
       "core_attributevalue"."value",
       "core_attributevalue"."position",
       "core_attributetype"."position",
       "core_attributetype"."name"
  FROM "core_attributevalue"
 INNER JOIN "core_attributetype"
    ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id")
 INNER JOIN "core_productattributevalue"
    ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id")
 WHERE ("core_attributevalue"."attribute_type_id" = 19 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available"))
 ORDER BY "core_attributetype"."position" ASC,
          "core_attributetype"."name" ASC,
          "core_attributevalue"."position" ASC,
          "core_attributevalue"."value" ASC
SELECT ••• FROM "core_attributevalue" INNER JOIN "core_attributetype" ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id") INNER JOIN "core_productattributevalue" ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id") WHERE ("core_attributevalue"."attribute_type_id" = 19 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available")) ORDER BY "core_attributetype"."position" ASC, "core_attributetype"."name" ASC, "core_attributevalue"."position" ASC, "core_attributevalue"."value" ASC
5 похожих запросов.
3,53

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(211)
  CacheService.set_cached_attribute_values(base_queryset, filters, available_attributes)

/app/core/services/cache_service.py in set_cached_attribute_values(175)
  cache.set(cache_key, values, cls.CACHE_TIMEOUTS['attribute_values'])

/usr/local/lib/python3.12/site-packages/django/core/cache/backends/locmem.py in set(54)
  pickled = pickle.dumps(value, self.pickle_protocol)

SELECT DISTINCT "core_attributevalue"."id",
       "core_attributevalue"."attribute_type_id",
       "core_attributevalue"."value",
       "core_attributevalue"."position",
       "core_attributetype"."position",
       "core_attributetype"."name"
  FROM "core_attributevalue"
 INNER JOIN "core_attributetype"
    ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id")
 INNER JOIN "core_productattributevalue"
    ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id")
 WHERE ("core_attributevalue"."attribute_type_id" = 18 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available"))
 ORDER BY "core_attributetype"."position" ASC,
          "core_attributetype"."name" ASC,
          "core_attributevalue"."position" ASC,
          "core_attributevalue"."value" ASC
SELECT ••• FROM "core_attributevalue" INNER JOIN "core_attributetype" ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id") INNER JOIN "core_productattributevalue" ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id") WHERE ("core_attributevalue"."attribute_type_id" = 18 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available")) ORDER BY "core_attributetype"."position" ASC, "core_attributetype"."name" ASC, "core_attributevalue"."position" ASC, "core_attributevalue"."value" ASC
5 похожих запросов.
3,68

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(211)
  CacheService.set_cached_attribute_values(base_queryset, filters, available_attributes)

/app/core/services/cache_service.py in set_cached_attribute_values(175)
  cache.set(cache_key, values, cls.CACHE_TIMEOUTS['attribute_values'])

/usr/local/lib/python3.12/site-packages/django/core/cache/backends/locmem.py in set(54)
  pickled = pickle.dumps(value, self.pickle_protocol)

SELECT DISTINCT "core_attributevalue"."id",
       "core_attributevalue"."attribute_type_id",
       "core_attributevalue"."value",
       "core_attributevalue"."position",
       "core_attributetype"."position",
       "core_attributetype"."name"
  FROM "core_attributevalue"
 INNER JOIN "core_attributetype"
    ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id")
 INNER JOIN "core_productattributevalue"
    ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id")
 WHERE ("core_attributevalue"."attribute_type_id" = 20 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available"))
 ORDER BY "core_attributetype"."position" ASC,
          "core_attributetype"."name" ASC,
          "core_attributevalue"."position" ASC,
          "core_attributevalue"."value" ASC
SELECT ••• FROM "core_attributevalue" INNER JOIN "core_attributetype" ON ("core_attributevalue"."attribute_type_id" = "core_attributetype"."id") INNER JOIN "core_productattributevalue" ON ("core_attributevalue"."id" = "core_productattributevalue"."attribute_value_id") WHERE ("core_attributevalue"."attribute_type_id" = 20 AND "core_productattributevalue"."product_id" IN (SELECT U0."id" FROM "core_product" U0 WHERE U0."available")) ORDER BY "core_attributetype"."position" ASC, "core_attributetype"."name" ASC, "core_attributevalue"."position" ASC, "core_attributevalue"."value" ASC
5 похожих запросов.
13,03

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(211)
  CacheService.set_cached_attribute_values(base_queryset, filters, available_attributes)

/app/core/services/cache_service.py in set_cached_attribute_values(175)
  cache.set(cache_key, values, cls.CACHE_TIMEOUTS['attribute_values'])

/usr/local/lib/python3.12/site-packages/django/core/cache/backends/locmem.py in set(54)
  pickled = pickle.dumps(value, self.pickle_protocol)

SELECT 1 AS "a"
  FROM "core_product"
 WHERE ("core_product"."available" AND "core_product"."is_new")
 LIMIT 1
SELECT 1 AS "a" FROM "core_product" WHERE ("core_product"."available" AND "core_product"."is_new") LIMIT 1
1,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(46)
  'has_new_products': base_queryset.filter(is_new=True).exists(),

SELECT 1 AS "a"
  FROM "core_product"
 WHERE ("core_product"."available" AND "core_product"."is_sale")
 LIMIT 1
SELECT 1 AS "a" FROM "core_product" WHERE ("core_product"."available" AND "core_product"."is_sale") LIMIT 1
1,66

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(47)
  'has_sale_products': base_queryset.filter(is_sale=True).exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE ("core_product"."available" AND "core_product"."is_new")
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE ("core_product"."available" AND "core_product"."is_new")
1,97

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(48)
  'new_products_count': base_queryset.filter(is_new=True).count(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE ("core_product"."available" AND "core_product"."is_sale")
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE ("core_product"."available" AND "core_product"."is_sale")
1,51

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(49)
  'sale_products_count': base_queryset.filter(is_sale=True).count(),

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" IS NULL
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" IS NULL ORDER BY "core_category"."name" ASC
2 похожих запросов. Дублируется 2 раз.
1,46

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(47)
  for root_category in root_categories:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 174
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 174 LIMIT 1
13 похожих запросов.
1,32

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 174
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 174
21 похожих запросов.
1,43

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 174
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 174 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,65

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 262
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 262
21 похожих запросов. Дублируется 2 раз.
1,47

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 262
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 262 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,35

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 263
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 263
21 похожих запросов. Дублируется 2 раз.
1,59

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 263
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 263 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 4 раз.
1,42

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 174
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 174 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,39

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 262
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 262 LIMIT 1
13 похожих запросов.
1,59

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 262
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 262
21 похожих запросов. Дублируется 2 раз.
1,56

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 262
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 262 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,25

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 262
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 262 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,14

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 263
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 263 LIMIT 1
13 похожих запросов.
1,18

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 263
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 263
21 похожих запросов. Дублируется 2 раз.
1,33

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 263
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 263 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 4 раз.
1,32

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 263
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 263 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 4 раз.
1,13

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 270
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 270 LIMIT 1
13 похожих запросов.
1,73

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 270
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 270
21 похожих запросов.
1,71

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 270
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 270 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,46

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 271
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 271
21 похожих запросов. Дублируется 2 раз.
1,74

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 271
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 271 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,53

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 274
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 274
21 похожих запросов. Дублируется 2 раз.
1,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 274
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 274 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,43

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 273
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 273
21 похожих запросов. Дублируется 2 раз.
1,65

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 273
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 273 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 270
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 270 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
2,06

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 271
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 271 LIMIT 1
13 похожих запросов.
2,04

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 271
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 271
21 похожих запросов. Дублируется 2 раз.
1,40

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 271
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 271 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,48

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 271
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 271 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,38

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 274
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 274 LIMIT 1
13 похожих запросов.
1,15

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 274
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 274
21 похожих запросов. Дублируется 2 раз.
1,17

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 274
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 274 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,20

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 274
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 274 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,21

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 273
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 273 LIMIT 1
13 похожих запросов.
1,12

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 273
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 273
21 похожих запросов. Дублируется 2 раз.
1,11

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 273
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 273 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,26

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 273
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 273 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,13

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 267
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 267 LIMIT 1
13 похожих запросов.
1,65

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 267
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 267
21 похожих запросов.
1,42

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 267
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 267 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,17

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 267
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 267 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,12

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 268
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 268 LIMIT 1
13 похожих запросов.
0,90

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 268
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 268
21 похожих запросов.
0,97

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 268
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 268 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,21

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 268
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 268 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
0,91

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 265
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 265 LIMIT 1
13 похожих запросов.
1,07

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 265
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 265
21 похожих запросов.
1,18

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 265
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 265 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,18

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 269
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 269
21 похожих запросов. Дублируется 2 раз.
1,09

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 269
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 269 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,11

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 264
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 264
21 похожих запросов. Дублируется 2 раз.
0,93

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 264
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 264 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,17

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 266
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 266
21 похожих запросов. Дублируется 2 раз.
1,09

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 266
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 266 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,19

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(77)
  count += child.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 265
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 265 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 2 раз.
1,52

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 269
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 269 LIMIT 1
13 похожих запросов.
1,26

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 269
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 269
21 похожих запросов. Дублируется 2 раз.
1,13

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 269
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 269 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,35

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 269
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 269 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,36

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 264
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 264 LIMIT 1
13 похожих запросов.
1,82

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 264
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 264
21 похожих запросов. Дублируется 2 раз.
1,65

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 264
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 264 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,71

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 264
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 264 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,50

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT 1 AS "a"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 266
 LIMIT 1
SELECT 1 AS "a" FROM "core_category" WHERE "core_category"."parent_id" = 266 LIMIT 1
13 похожих запросов.
1,28

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(37)
  'has_children': category.children.exists(),

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."category_id" = 266
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."category_id" = 266
21 похожих запросов. Дублируется 2 раз.
1,28

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(75)
  count = self.products.count()

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 266
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 266 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,26

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(38)
  'products_count': category.get_products_count()

/app/core/models.py in get_products_count(76)
  for child in self.children.all():

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" = 266
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 266 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
1,44

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(375)
  hierarchical_categories = CategoryService.get_hierarchical_categories()

/app/core/services/category_service.py in get_hierarchical_categories(48)
  add_category_and_children(root_category)

/app/core/services/category_service.py in add_category_and_children(44)
  add_category_and_children(child, level + 1)

/app/core/services/category_service.py in add_category_and_children(43)
  for child in children:

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" IS NULL
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" IS NULL ORDER BY "core_category"."name" ASC
2 похожих запросов. Дублируется 2 раз.
1,52

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/usr/local/lib/python3.12/site-packages/django/template/defaultfilters.py in length(632)
  return len(value)

33 Категории товаров
34 </h3>
35 <span class="text-xs text-white/60 bg-main/50 px-3 py-1 rounded-full">
36 {{ categories|length|add:1 }} категори{{ categories|length|add:1|pluralize:"й,и,й" }}
37 </span>
38 </div>
39
40 <div class="flex flex-wrap gap-3">

/app/core/templates/core/product/catalog.html

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" IN (174, 270, 267, 268, 265)
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" IN (174, 270, 267, 268, 265) ORDER BY "core_category"."name" ASC
3,63

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/usr/local/lib/python3.12/site-packages/django/template/defaultfilters.py in length(632)
  return len(value)

33 Категории товаров
34 </h3>
35 <span class="text-xs text-white/60 bg-main/50 px-3 py-1 rounded-full">
36 {{ categories|length|add:1 }} категори{{ categories|length|add:1|pluralize:"й,и,й" }}
37 </span>
38 </div>
39
40 <div class="flex flex-wrap gap-3">

/app/core/templates/core/product/catalog.html

SELECT "core_category"."id",
       "core_category"."name",
       "core_category"."slug",
       "core_category"."parent_id",
       "core_category"."description",
       "core_category"."image",
       "core_category"."created_at",
       "core_category"."updated_at"
  FROM "core_category"
 WHERE "core_category"."parent_id" IN (271, 269, 274, 273, 264, 266, 262, 263)
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" IN (271, 269, 274, 273, 264, 266, 262, 263) ORDER BY "core_category"."name" ASC
1,39

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/usr/local/lib/python3.12/site-packages/django/template/defaultfilters.py in length(632)
  return len(value)

33 Категории товаров
34 </h3>
35 <span class="text-xs text-white/60 bg-main/50 px-3 py-1 rounded-full">
36 {{ categories|length|add:1 }} категори{{ categories|length|add:1|pluralize:"й,и,й" }}
37 </span>
38 </div>
39
40 <div class="flex flex-wrap gap-3">

/app/core/templates/core/product/catalog.html

SELECT "core_manufacturer"."id",
       "core_manufacturer"."name",
       "core_manufacturer"."slug",
       "core_manufacturer"."logo",
       "core_manufacturer"."description"
  FROM "core_manufacturer"
 ORDER BY "core_manufacturer"."name" ASC
SELECT ••• FROM "core_manufacturer" ORDER BY "core_manufacturer"."name" ASC
1,59

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(326)
  if match:

170 {% endif %}
171
172 <!-- Фильтр по производителям -->
173 {% if manufacturers %}
174 <div class="filter-section mb-6">
175 <h4 class="text-accent-smoke font-medium mb-2 pb-1 border-b border-main/20">Производители
176 </h4>
177 <div class="space-y-2 max-h-48 overflow-y-auto pr-2">

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 294
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 294
76 похожих запросов.
1,34

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 295
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 295
76 похожих запросов.
1,40

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 296
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 296
76 похожих запросов.
1,30

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 297
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 297
76 похожих запросов.
1,76

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 252
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 252
76 похожих запросов.
1,45

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 258
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 258
76 похожих запросов.
1,36

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 232
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 232
76 похожих запросов.
1,31

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 230
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 230
76 похожих запросов.
1,21

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 271
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 271
76 похожих запросов.
1,25

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 279
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 279
76 похожих запросов.
1,27

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 239
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 239
76 похожих запросов.
1,19

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 254
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 254
76 похожих запросов.
1,15

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 293
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 293
76 похожих запросов.
1,42

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 284
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 284
76 похожих запросов.
2,30

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 237
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 237
76 похожих запросов.
1,66

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 238
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 238
76 похожих запросов.
1,35

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 259
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 259
76 похожих запросов.
1,45

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 243
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 243
76 похожих запросов.
1,42

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 298
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 298
76 похожих запросов.
1,49

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 261
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 261
76 похожих запросов.
1,51

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 248
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 248
76 похожих запросов.
1,34

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 299
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 299
76 похожих запросов.
2,57

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 263
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 263
76 похожих запросов.
1,79

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 300
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 300
76 похожих запросов.
1,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 277
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 277
76 похожих запросов.
1,42

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 286
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 286
76 похожих запросов.
1,22

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 240
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 240
76 похожих запросов.
1,43

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 251
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 251
76 похожих запросов.
1,65

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 266
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 266
76 похожих запросов.
4,43

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 231
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 231
76 похожих запросов.
1,81

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 283
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 283
76 похожих запросов.
1,59

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 285
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 285
76 похожих запросов.
1,61

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 245
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 245
76 похожих запросов.
1,72

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 292
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 292
76 похожих запросов.
1,69

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 235
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 235
76 похожих запросов.
1,46

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 301
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 301
76 похожих запросов.
1,49

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 302
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 302
76 похожих запросов.
1,75

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 303
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 303
76 похожих запросов.
1,53

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 291
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 291
76 похожих запросов.
1,98

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 287
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 287
76 похожих запросов.
1,64

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 236
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 236
76 похожих запросов.
1,73

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 304
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 304
76 похожих запросов.
1,46

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 244
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 244
76 похожих запросов.
1,44

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 269
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 269
76 похожих запросов.
2,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 234
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 234
76 похожих запросов.
2,17

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 288
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 288
76 похожих запросов.
1,30

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 256
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 256
76 похожих запросов.
1,16

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 255
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 255
76 похожих запросов.
1,18

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 249
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 249
76 похожих запросов.
1,68

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 305
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 305
76 похожих запросов.
1,25

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 257
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 257
76 похожих запросов.
1,66

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 306
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 306
76 похожих запросов.
1,71

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 307
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 307
76 похожих запросов.
1,64

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 253
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 253
76 похожих запросов.
1,46

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 274
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 274
76 похожих запросов.
1,29

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 260
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 260
76 похожих запросов.
1,25

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 308
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 308
76 похожих запросов.
1,30

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 246
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 246
76 похожих запросов.
1,38

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 289
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 289
76 похожих запросов.
1,43

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 267
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 267
76 похожих запросов.
1,44

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 247
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 247
76 похожих запросов.
1,20

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 282
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 282
76 похожих запросов.
1,41

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 242
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 242
76 похожих запросов.
2,22

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 309
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 309
76 похожих запросов.
1,87

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 278
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 278
76 похожих запросов.
1,61

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 268
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 268
76 похожих запросов.
1,64

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 290
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 290
76 похожих запросов.
2,00

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 250
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 250
76 похожих запросов.
1,70

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 276
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 276
76 похожих запросов.
1,33

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 310
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 310
76 похожих запросов.
1,44

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 311
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 311
76 похожих запросов.
1,27

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 280
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 280
76 похожих запросов.
1,32

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 262
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 262
76 похожих запросов.
1,31

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 265
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 265
76 похожих запросов.
1,49

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 241
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 241
76 похожих запросов.
1,59

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_product"
 WHERE "core_product"."manufacturer_id" = 281
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 281
76 похожих запросов.
1,64

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in get_products_count(163)
  return self.products.count()

181 class="form-checkbox h-5 w-5 text-accent-smoke rounded focus:ring-accent-smoke"
182 {% if manufacturer.id in selected_manufacturers %}checked{% endif %}>
183 <span class="text-white">{{ manufacturer.name }}
184 <span class="ml-1 text-xs text-white/60">({{ manufacturer.get_products_count }})</span>
185 </span>
186 </label>
187 {% endfor %}
188 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2042 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2042 AND "core_product"."available")
50 похожих запросов.
1,88

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2056 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2056 AND "core_product"."available")
50 похожих запросов.
1,95

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2052 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2052 AND "core_product"."available")
50 похожих запросов.
2,01

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2037 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2037 AND "core_product"."available")
50 похожих запросов.
2,34

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1977 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1977 AND "core_product"."available")
50 похожих запросов.
1,76

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2044 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2044 AND "core_product"."available")
50 похожих запросов.
1,72

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2077 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2077 AND "core_product"."available")
50 похожих запросов.
1,60

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1976 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1976 AND "core_product"."available")
50 похожих запросов.
1,73

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1994 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1994 AND "core_product"."available")
50 похожих запросов.
1,77

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1985 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1985 AND "core_product"."available")
50 похожих запросов.
2,16

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2048 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2048 AND "core_product"."available")
50 похожих запросов.
2,08

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2035 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2035 AND "core_product"."available")
50 похожих запросов.
2,06

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2000 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2000 AND "core_product"."available")
50 похожих запросов.
2,11

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2013 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2013 AND "core_product"."available")
50 похожих запросов.
1,67

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2029 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2029 AND "core_product"."available")
50 похожих запросов.
1,62

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 668 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 668 AND "core_product"."available")
50 похожих запросов.
1,69

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 93 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 93 AND "core_product"."available")
50 похожих запросов.
2,14

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 81 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 81 AND "core_product"."available")
50 похожих запросов.
2,08

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1126 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1126 AND "core_product"."available")
50 похожих запросов.
1,98

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 973 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 973 AND "core_product"."available")
50 похожих запросов.
2,09

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 92 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 92 AND "core_product"."available")
50 похожих запросов.
1,81

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 2278 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 2278 AND "core_product"."available")
50 похожих запросов.
1,84

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 78 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 78 AND "core_product"."available")
50 похожих запросов.
1,92

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 73 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 73 AND "core_product"."available")
50 похожих запросов.
2,01

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 79 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 79 AND "core_product"."available")
50 похожих запросов.
1,82

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 77 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 77 AND "core_product"."available")
50 похожих запросов.
2,17

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1970 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1970 AND "core_product"."available")
50 похожих запросов.
1,91

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1969 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1969 AND "core_product"."available")
50 похожих запросов.
1,57

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 65 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 65 AND "core_product"."available")
50 похожих запросов.
2,11

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1967 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1967 AND "core_product"."available")
50 похожих запросов.
2,11

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1960 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1960 AND "core_product"."available")
50 похожих запросов.
2,28

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 70 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 70 AND "core_product"."available")
50 похожих запросов.
1,84

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 75 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 75 AND "core_product"."available")
50 похожих запросов.
1,74

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 67 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 67 AND "core_product"."available")
50 похожих запросов.
2,06

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 69 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 69 AND "core_product"."available")
50 похожих запросов.
2,24

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 71 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 71 AND "core_product"."available")
50 похожих запросов.
1,92

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1966 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1966 AND "core_product"."available")
50 похожих запросов.
1,66

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 72 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 72 AND "core_product"."available")
50 похожих запросов.
2,62

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1961 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1961 AND "core_product"."available")
50 похожих запросов.
2,22

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1968 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1968 AND "core_product"."available")
50 похожих запросов.
1,73

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1964 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1964 AND "core_product"."available")
50 похожих запросов.
1,74

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1971 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1971 AND "core_product"."available")
50 похожих запросов.
1,56

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1973 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1973 AND "core_product"."available")
50 похожих запросов.
7,37

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1963 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1963 AND "core_product"."available")
50 похожих запросов.
2,54

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1962 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1962 AND "core_product"."available")
50 похожих запросов.
1,89

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1974 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1974 AND "core_product"."available")
50 похожих запросов.
1,66

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1965 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1965 AND "core_product"."available")
50 похожих запросов.
1,74

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1972 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1972 AND "core_product"."available")
50 похожих запросов.
1,94

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1978 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1978 AND "core_product"."available")
50 похожих запросов.
2,60

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT COUNT(*) AS "__count"
  FROM "core_productattributevalue"
 INNER JOIN "core_product"
    ON ("core_productattributevalue"."product_id" = "core_product"."id")
 WHERE ("core_productattributevalue"."attribute_value_id" = 1975 AND "core_product"."available")
SELECT COUNT(*) AS "__count" FROM "core_productattributevalue" INNER JOIN "core_product" ON ("core_productattributevalue"."product_id" = "core_product"."id") WHERE ("core_productattributevalue"."attribute_value_id" = 1975 AND "core_product"."available")
50 похожих запросов.
2,33

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(327)
  return nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1075)
  output = self.filter_expression.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(749)
  new_obj = func(obj, *arg_vals)

/app/core/templatetags/core_extras.py in count_products_with_attribute(209)
  return attribute_value.product_attributes.filter(product__available=True).count()

239 data-attribute-value="{{ attr_value.id }}" {% if attr_type.slug in attribute_filters and attr_value.value in attribute_filters|get_item:attr_type.slug %}checked{% endif %}>
240 <span class="text-white">{{ attr_value.value }}{% if attr_type.unit %} {{
241 attr_type.unit }}{% endif %}
242 <span class="ml-1 text-xs text-white/60">({{ attr_value|count_products_with_attribute }})</span>
243 </span>
244 </label>
245 {% endfor %}
246 </div>

/app/core/templates/core/product/catalog.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 397 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 397 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,76

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 399 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 399 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,41

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 400 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 400 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,46

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 402 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 402 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,55

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 395 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 395 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,67

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 396 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 396 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,57

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 398 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 398 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,60

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 308 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 308 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,47

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 309 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 309 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,44

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 401 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 401 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,50

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 403 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 403 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
2,19

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

38 {% endif %}
39
40 <!-- Индикатор наличия -->
41 {% if product.has_available_variants %}
42 <div class="availability-indicator bg-green-500 text-white {% if not small %}grid-only-availability{% endif %}">
43 В наличии
44 </div>
45 {% else %}

/app/core/templates/core/snippets/product_card.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 397 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 397 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,71

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 399 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 399 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,61

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 400 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 400 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,62

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 402 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 402 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,37

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 395 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 395 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,87

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 396 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 396 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,40

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 398 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 398 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,37

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 308 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 308 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,32

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 309 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 309 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,48

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 401 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 401 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,24

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

SELECT 1 AS "a"
  FROM "core_productattributevalue"
 WHERE ("core_productattributevalue"."product_id" = 403 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 403 AND "core_productattributevalue"."available") LIMIT 1
22 похожих запросов. Дублируется 2 раз.
1,31

Соединение: default

Статус транзакции: Ожидание

/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(427)
  return render(request, 'core/product/catalog.html', context)

/usr/local/lib/python3.12/site-packages/django/shortcuts.py in render(25)
  content = loader.render_to_string(template_name, context, request, using=using)

/usr/local/lib/python3.12/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, request)

/usr/local/lib/python3.12/site-packages/django/template/backends/django.py in render(107)
  return self.template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(171)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(159)
  return compiled_parent._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(65)
  result = block.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(243)
  nodelist.append(node.render_annotated(context))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py in render(210)
  return template.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(173)
  return self._render(context)

/usr/local/lib/python3.12/site-packages/django/test/utils.py in instrumented_test_render(114)
  return self.nodelist.render(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in render(1016)
  return SafeString("".join([node.render_annotated(context) for node in self]))

/usr/local/lib/python3.12/site-packages/django/template/base.py in render_annotated(977)
  return self.render(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in render(320)
  match = condition.eval(context)

/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py in eval(886)
  return self.value.resolve(context, ignore_failures=True)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(722)
  obj = self.var.resolve(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in resolve(854)
  value = self._resolve_lookup(context)

/usr/local/lib/python3.12/site-packages/django/template/base.py in _resolve_lookup(925)
  current = current()

/app/core/models.py in has_available_variants(292)
  return self.attribute_values.filter(available=True).exists()

46 </span>
47 {% endif %}
48 <!-- Индикатор наличия -->
49 {% if product.has_available_variants %}
50 <span class="bg-green-500/20 text-green-400 px-2 py-0.5 rounded-full text-xs font-medium">В наличии</span>
51 {% else %}
52 <span class="bg-red-500/20 text-red-400 px-2 py-0.5 rounded-full text-xs font-medium">Нет в наличии</span>
53 {% endif %}

/app/core/templates/core/snippets/product_card_list.html

Статические файлы (найдено 221, используется 31)

Пути к статическим файлам

Нет

Приложения, использующие статические файлы

  1. django.contrib.admin
  2. django_select2
  3. core
  4. debug_toolbar

Статический файл

core/images/favicon.png
/app/core/static/core/images/favicon.png
core/images/favicon.png
/app/core/static/core/images/favicon.png
core/css/styles.css
/app/core/static/core/css/styles.css
core/css/product-cards.css
/app/core/static/core/css/product-cards.css
core/css/scroll-to-top.css
/app/core/static/core/css/scroll-to-top.css
core/js/smart-spinner.js
/app/core/static/core/js/smart-spinner.js
core/css/tailwind.output.css
/app/core/static/core/css/tailwind.output.css
core/css/tailwind.output.css
/app/core/static/core/css/tailwind.output.css
core/css/loader.css
/app/core/static/core/css/loader.css
core/css/loader.css
/app/core/static/core/css/loader.css
core/css/product-detail.css
/app/core/static/core/css/product-detail.css
core/css/product-detail.css
/app/core/static/core/css/product-detail.css
core/css/lazy-animations.css
/app/core/static/core/css/lazy-animations.css
core/css/lazy-animations.css
/app/core/static/core/css/lazy-animations.css
core/css/catalog.css
/app/core/static/core/css/catalog.css
core/css/product-cards.css
/app/core/static/core/css/product-cards.css
core/css/pagination.css
/app/core/static/core/css/pagination.css
core/css/smart-filters.css
/app/core/static/core/css/smart-filters.css
core/images/logo.png
/app/core/static/core/images/logo.png
core/js/modules/SearchHandler.js
/app/core/static/core/js/modules/SearchHandler.js
core/js/modules/ImageHandler.js
/app/core/static/core/js/modules/ImageHandler.js
core/js/modules/MobileNav.js
/app/core/static/core/js/modules/MobileNav.js
core/js/modules/MobileNavFilters.js
/app/core/static/core/js/modules/MobileNavFilters.js
core/js/modules/lazy-loader.js
/app/core/static/core/js/modules/lazy-loader.js
core/js/global-functions.js
/app/core/static/core/js/global-functions.js
core/js/main.js
/app/core/static/core/js/main.js
core/js/modules/AgeVerification.js
/app/core/static/core/js/modules/AgeVerification.js
core/js/sw-register.js
/app/core/static/core/js/sw-register.js
core/js/main.js
/app/core/static/core/js/main.js
core/js/debug-filters.js
None
core/js/test-mobile-filters.js
None

django.contrib.staticfiles.finders.AppDirectoriesFinder (221 файл)

Путь Место
admin/js/SelectBox.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/SelectBox.js
admin/js/prepopulate.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/prepopulate.js
admin/js/SelectFilter2.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/SelectFilter2.js
admin/js/calendar.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/calendar.js
admin/js/prepopulate_init.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/prepopulate_init.js
admin/js/urlify.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/urlify.js
admin/js/autocomplete.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/autocomplete.js
admin/js/unusable_password_field.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/unusable_password_field.js
admin/js/filters.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/filters.js
admin/js/change_form.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/change_form.js
admin/js/nav_sidebar.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/nav_sidebar.js
admin/js/jquery.init.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/jquery.init.js
admin/js/actions.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/actions.js
admin/js/inlines.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/inlines.js
admin/js/theme.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/theme.js
admin/js/cancel.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/cancel.js
admin/js/popup_response.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/popup_response.js
admin/js/core.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/core.js
admin/js/admin/DateTimeShortcuts.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js
admin/js/admin/RelatedObjectLookups.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
admin/js/vendor/select2/LICENSE.md /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/LICENSE.md
admin/js/vendor/select2/select2.full.min.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/select2.full.min.js
admin/js/vendor/select2/select2.full.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/select2.full.js
admin/js/vendor/select2/i18n/ps.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ps.js
admin/js/vendor/select2/i18n/vi.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/vi.js
admin/js/vendor/select2/i18n/hr.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hr.js
admin/js/vendor/select2/i18n/he.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/he.js
admin/js/vendor/select2/i18n/zh-TW.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/zh-TW.js
admin/js/vendor/select2/i18n/en.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/en.js
admin/js/vendor/select2/i18n/ar.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ar.js
admin/js/vendor/select2/i18n/sv.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sv.js
admin/js/vendor/select2/i18n/fi.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/fi.js
admin/js/vendor/select2/i18n/es.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/es.js
admin/js/vendor/select2/i18n/hi.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hi.js
admin/js/vendor/select2/i18n/pt-BR.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/pt-BR.js
admin/js/vendor/select2/i18n/tk.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/tk.js
admin/js/vendor/select2/i18n/gl.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/gl.js
admin/js/vendor/select2/i18n/dsb.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/dsb.js
admin/js/vendor/select2/i18n/ka.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ka.js
admin/js/vendor/select2/i18n/tr.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/tr.js
admin/js/vendor/select2/i18n/sl.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sl.js
admin/js/vendor/select2/i18n/hsb.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hsb.js
admin/js/vendor/select2/i18n/ja.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ja.js
admin/js/vendor/select2/i18n/zh-CN.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/zh-CN.js
admin/js/vendor/select2/i18n/ms.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ms.js
admin/js/vendor/select2/i18n/ca.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ca.js
admin/js/vendor/select2/i18n/fa.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/fa.js
admin/js/vendor/select2/i18n/cs.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/cs.js
admin/js/vendor/select2/i18n/eu.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/eu.js
admin/js/vendor/select2/i18n/sr.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sr.js
admin/js/vendor/select2/i18n/it.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/it.js
admin/js/vendor/select2/i18n/ko.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ko.js
admin/js/vendor/select2/i18n/sq.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sq.js
admin/js/vendor/select2/i18n/el.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/el.js
admin/js/vendor/select2/i18n/pl.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/pl.js
admin/js/vendor/select2/i18n/bn.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/bn.js
admin/js/vendor/select2/i18n/is.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/is.js
admin/js/vendor/select2/i18n/de.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/de.js
admin/js/vendor/select2/i18n/id.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/id.js
admin/js/vendor/select2/i18n/mk.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/mk.js
admin/js/vendor/select2/i18n/hy.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hy.js
admin/js/vendor/select2/i18n/uk.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/uk.js
admin/js/vendor/select2/i18n/ru.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ru.js
admin/js/vendor/select2/i18n/lv.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/lv.js
admin/js/vendor/select2/i18n/az.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/az.js
admin/js/vendor/select2/i18n/pt.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/pt.js
admin/js/vendor/select2/i18n/bg.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/bg.js
admin/js/vendor/select2/i18n/ne.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ne.js
admin/js/vendor/select2/i18n/km.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/km.js
admin/js/vendor/select2/i18n/nb.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/nb.js
admin/js/vendor/select2/i18n/lt.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/lt.js
admin/js/vendor/select2/i18n/af.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/af.js
admin/js/vendor/select2/i18n/nl.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/nl.js
admin/js/vendor/select2/i18n/fr.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/fr.js
admin/js/vendor/select2/i18n/th.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/th.js
admin/js/vendor/select2/i18n/sr-Cyrl.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sr-Cyrl.js
admin/js/vendor/select2/i18n/et.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/et.js
admin/js/vendor/select2/i18n/bs.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/bs.js
admin/js/vendor/select2/i18n/sk.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sk.js
admin/js/vendor/select2/i18n/da.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/da.js
admin/js/vendor/select2/i18n/hu.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hu.js
admin/js/vendor/select2/i18n/ro.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ro.js
admin/js/vendor/xregexp/xregexp.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.js
admin/js/vendor/xregexp/LICENSE.txt /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/LICENSE.txt
admin/js/vendor/xregexp/xregexp.min.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.min.js
admin/js/vendor/jquery/jquery.min.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.min.js
admin/js/vendor/jquery/jquery.js /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.js
admin/js/vendor/jquery/LICENSE.txt /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/LICENSE.txt
admin/css/nav_sidebar.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/nav_sidebar.css
admin/css/widgets.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/widgets.css
admin/css/changelists.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/changelists.css
admin/css/dark_mode.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/dark_mode.css
admin/css/login.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/login.css
admin/css/unusable_password_field.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/unusable_password_field.css
admin/css/base.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/base.css
admin/css/responsive_rtl.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/responsive_rtl.css
admin/css/rtl.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/rtl.css
admin/css/dashboard.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/dashboard.css
admin/css/autocomplete.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/autocomplete.css
admin/css/responsive.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/responsive.css
admin/css/forms.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/forms.css
admin/css/vendor/select2/LICENSE-SELECT2.md /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/vendor/select2/LICENSE-SELECT2.md
admin/css/vendor/select2/select2.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/vendor/select2/select2.css
admin/css/vendor/select2/select2.min.css /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/css/vendor/select2/select2.min.css
admin/img/icon-alert.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-alert.svg
admin/img/README.txt /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/README.txt
admin/img/calendar-icons.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/calendar-icons.svg
admin/img/icon-yes.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-yes.svg
admin/img/icon-no.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-no.svg
admin/img/icon-changelink.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-changelink.svg
admin/img/selector-icons.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/selector-icons.svg
admin/img/icon-hidelink.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-hidelink.svg
admin/img/icon-unknown-alt.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-unknown-alt.svg
admin/img/tooltag-add.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/tooltag-add.svg
admin/img/tooltag-arrowright.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/tooltag-arrowright.svg
admin/img/inline-delete.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/inline-delete.svg
admin/img/icon-viewlink.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-viewlink.svg
admin/img/icon-calendar.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-calendar.svg
admin/img/search.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/search.svg
admin/img/icon-addlink.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-addlink.svg
admin/img/sorting-icons.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/sorting-icons.svg
admin/img/icon-deletelink.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-deletelink.svg
admin/img/icon-clock.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-clock.svg
admin/img/icon-unknown.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/icon-unknown.svg
admin/img/LICENSE /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/LICENSE
admin/img/gis/move_vertex_off.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/gis/move_vertex_off.svg
admin/img/gis/move_vertex_on.svg /usr/local/lib/python3.12/site-packages/django/contrib/admin/static/admin/img/gis/move_vertex_on.svg
django_select2/django_select2.js /usr/local/lib/python3.12/site-packages/django_select2/static/django_select2/django_select2.js
django_select2/django_select2.css /usr/local/lib/python3.12/site-packages/django_select2/static/django_select2/django_select2.css
admin/css/components/overrides.css /app/core/static/admin/css/components/overrides.css
core/js/admin.js /app/core/static/core/js/admin.js
core/js/global-functions.js /app/core/static/core/js/global-functions.js
core/js/sw-register.js /app/core/static/core/js/sw-register.js
core/js/sw.js /app/core/static/core/js/sw.js
core/js/main.js /app/core/static/core/js/main.js
core/js/smart-spinner.js /app/core/static/core/js/smart-spinner.js
core/js/blog-latest.js /app/core/static/core/js/blog-latest.js
core/js/components/CartStorage.js /app/core/static/core/js/components/CartStorage.js
core/js/components/LoadingSpinner.js /app/core/static/core/js/components/LoadingSpinner.js
core/js/components/VapeUI.js /app/core/static/core/js/components/VapeUI.js
core/js/components/CartUI.js /app/core/static/core/js/components/CartUI.js
core/js/components/CartPricing.js /app/core/static/core/js/components/CartPricing.js
core/js/components/CartAPI.js /app/core/static/core/js/components/CartAPI.js
core/js/modules/CatalogManager.js /app/core/static/core/js/modules/CatalogManager.js
core/js/modules/ProductVariantsLoader.js /app/core/static/core/js/modules/ProductVariantsLoader.js
core/js/modules/Cart.js /app/core/static/core/js/modules/Cart.js
core/js/modules/PaginationManager.js /app/core/static/core/js/modules/PaginationManager.js
core/js/modules/PaginationAccessibility.js /app/core/static/core/js/modules/PaginationAccessibility.js
core/js/modules/ProductPage.js /app/core/static/core/js/modules/ProductPage.js
core/js/modules/UI.js /app/core/static/core/js/modules/UI.js
core/js/modules/CartOrder.js /app/core/static/core/js/modules/CartOrder.js
core/js/modules/SearchHandler.js /app/core/static/core/js/modules/SearchHandler.js
core/js/modules/MobileNavFilters.js /app/core/static/core/js/modules/MobileNavFilters.js
core/js/modules/BackToTop.js /app/core/static/core/js/modules/BackToTop.js
core/js/modules/SearchResultsHandler.js /app/core/static/core/js/modules/SearchResultsHandler.js
core/js/modules/BaseFilters.js /app/core/static/core/js/modules/BaseFilters.js
core/js/modules/AgeVerification.js /app/core/static/core/js/modules/AgeVerification.js
core/js/modules/MobileNav.js /app/core/static/core/js/modules/MobileNav.js
core/js/modules/FiltersManagerV2.js /app/core/static/core/js/modules/FiltersManagerV2.js
core/js/modules/ViewSwitcher.js /app/core/static/core/js/modules/ViewSwitcher.js
core/js/modules/AttributeRulesManager.js /app/core/static/core/js/modules/AttributeRulesManager.js
core/js/modules/SearchPaginationManager.js /app/core/static/core/js/modules/SearchPaginationManager.js
core/js/modules/CategoryPaginationManager.js /app/core/static/core/js/modules/CategoryPaginationManager.js
core/js/modules/ScrollToTop.js /app/core/static/core/js/modules/ScrollToTop.js
core/js/modules/ImageHandler.js /app/core/static/core/js/modules/ImageHandler.js
core/js/modules/lazy-loader.js /app/core/static/core/js/modules/lazy-loader.js
core/js/utils/Constants.js /app/core/static/core/js/utils/Constants.js
core/js/utils/APIClient.js /app/core/static/core/js/utils/APIClient.js
core/js/utils/OverlayManager.js /app/core/static/core/js/utils/OverlayManager.js
core/js/utils/Notification.js /app/core/static/core/js/utils/Notification.js
core/js/utils/SimpleNotification.js /app/core/static/core/js/utils/SimpleNotification.js
core/js/utils/Loader.js /app/core/static/core/js/utils/Loader.js
core/js/utils/DOMUtils.js /app/core/static/core/js/utils/DOMUtils.js
core/js/utils/shared-utilities.js /app/core/static/core/js/utils/shared-utilities.js
core/js/utils/CommonUtils.js /app/core/static/core/js/utils/CommonUtils.js
core/images/placeholder.jpg /app/core/static/core/images/placeholder.jpg
core/images/favicon.ico /app/core/static/core/images/favicon.ico
core/images/logo.png /app/core/static/core/images/logo.png
core/images/favicon.png /app/core/static/core/images/favicon.png
core/images/hero.mp4 /app/core/static/core/images/hero.mp4
core/images/backup/logo.png /app/core/static/core/images/backup/logo.png
core/images/backup/favicon.png /app/core/static/core/images/backup/favicon.png
core/images/optimized/favicon-optimized.webp /app/core/static/core/images/optimized/favicon-optimized.webp
core/images/optimized/favicon-optimized.png /app/core/static/core/images/optimized/favicon-optimized.png
core/images/optimized/logo-optimized.webp /app/core/static/core/images/optimized/logo-optimized.webp
core/images/optimized/logo-optimized.png /app/core/static/core/images/optimized/logo-optimized.png
core/images/optimized/favicons/favicon.ico /app/core/static/core/images/optimized/favicons/favicon.ico
core/images/optimized/favicons/favicon-16x16.png /app/core/static/core/images/optimized/favicons/favicon-16x16.png
core/images/optimized/favicons/favicon-48x48.png /app/core/static/core/images/optimized/favicons/favicon-48x48.png
core/images/optimized/favicons/favicon-64x64.png /app/core/static/core/images/optimized/favicons/favicon-64x64.png
core/images/optimized/favicons/favicon-32x32.png /app/core/static/core/images/optimized/favicons/favicon-32x32.png
core/images/optimized/favicons/favicon-128x128.png /app/core/static/core/images/optimized/favicons/favicon-128x128.png
core/images/optimized/favicons/favicon-256x256.png /app/core/static/core/images/optimized/favicons/favicon-256x256.png
core/css/tailwind-components.css /app/core/static/core/css/tailwind-components.css
core/css/styles.css /app/core/static/core/css/styles.css
core/css/search.css /app/core/static/core/css/search.css
core/css/vape-components.css /app/core/static/core/css/vape-components.css
core/css/tailwind.css /app/core/static/core/css/tailwind.css
core/css/tailwind.output.css /app/core/static/core/css/tailwind.output.css
core/css/loader.css /app/core/static/core/css/loader.css
core/css/product-detail.css /app/core/static/core/css/product-detail.css
core/css/scroll-to-top.css /app/core/static/core/css/scroll-to-top.css
core/css/lazy-animations.css /app/core/static/core/css/lazy-animations.css
core/css/catalog.css /app/core/static/core/css/catalog.css
core/css/critical.css /app/core/static/core/css/critical.css
core/css/smart-filters.css /app/core/static/core/css/smart-filters.css
core/css/shared-utilities.css /app/core/static/core/css/shared-utilities.css
core/css/product-cards.css /app/core/static/core/css/product-cards.css
core/css/pagination.css /app/core/static/core/css/pagination.css
core/css/optimized/loader.simple.css /app/core/static/core/css/optimized/loader.simple.css
core/css/optimized/loader.min.css /app/core/static/core/css/optimized/loader.min.css
dist/style.min.css /app/core/static/dist/style.min.css
dist/main.js /app/core/static/dist/main.js
dist/critical/critical.css /app/core/static/dist/critical/critical.css
debug_toolbar/js/redirect.js /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/js/redirect.js
debug_toolbar/js/utils.js /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/js/utils.js
debug_toolbar/js/toolbar.js /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.js
debug_toolbar/js/timer.js /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/js/timer.js
debug_toolbar/js/history.js /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/js/history.js
debug_toolbar/css/toolbar.css /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/css/toolbar.css
debug_toolbar/css/print.css /usr/local/lib/python3.12/site-packages/debug_toolbar/static/debug_toolbar/css/print.css

Шаблоны (обработано 24)

Пути к шаблонам

Нет

Шаблоны

core/product/catalog.html
/app/core/templates/core/product/catalog.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218}
core/base.html
/app/core/templates/core/base.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: Big Bottle Co - 120 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: Big Bottle Co - 6 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: Big Bottle Co - Cinnamon Cream>, <ProductAttributeValue: Big Bottle Co - Summer Drink>, <ProductAttributeValue: Big Bottle Co - Jelly Donut>, <ProductAttributeValue: Big Bottle Co - Blueberry Cake>, <ProductAttributeValue: Big Bottle Co - Pink Lemonade>])], 'product': <Product: Big Bottle Co>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: COCA COLA - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: COCA COLA - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: COCA COLA - Кола, лесные ягоды, лёд>, <ProductAttributeValue: COCA COLA - Кола classic, лёд>, <ProductAttributeValue: COCA COLA - Кола, черника, лёд>, <ProductAttributeValue: COCA COLA - Кола, виноград, лёд>, <ProductAttributeValue: COCA COLA - Кола, апельсин, лёд>, <ProductAttributeValue: COCA COLA - Кола, малина, лёд>, <ProductAttributeValue: COCA COLA - Кола, ваниль, лёд>, <ProductAttributeValue: COCA COLA - Кола, арбуз, лёд>])], 'product': <Product: COCA COLA>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: COCA COLA ICE - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: COCA COLA ICE - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: COCA COLA ICE - Кола, лесные ягоды, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола classic, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, черника, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, виноград, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, апельсин, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, малина, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, ваниль, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, арбуз, лёд>])], 'product': <Product: COCA COLA ICE>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: FANTA ICE - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: FANTA ICE - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: FANTA ICE - LACK>, <ProductAttributeValue: FANTA ICE - BLUE>, <ProductAttributeValue: FANTA ICE - GREEN>, <ProductAttributeValue: FANTA ICE - ORANGE>, <ProductAttributeValue: FANTA ICE - PINK>, <ProductAttributeValue: FANTA ICE - PURPLE>, <ProductAttributeValue: FANTA ICE - RED>, <ProductAttributeValue: FANTA ICE - YELLOW>])], 'product': <Product: FANTA ICE>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: FANTASI - 120 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: FANTASI - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: FANTASI - Черника, лёд>, <ProductAttributeValue: FANTASI - Манго, лёд>, <ProductAttributeValue: FANTASI - Виноград, лёд>, <ProductAttributeValue: FANTASI - Ананас, лёд>, <ProductAttributeValue: FANTASI - Вишня, лёд>])], 'product': <Product: FANTASI>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: FANTASI - 60 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: FANTASI - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: FANTASI - Черника, лёд>, <ProductAttributeValue: FANTASI - Манго, лёд>, <ProductAttributeValue: FANTASI - Виноград, лёд>, <ProductAttributeValue: FANTASI - Ананас, лёд>, <ProductAttributeValue: FANTASI - Вишня, лёд>])], 'product': <Product: FANTASI>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: HUMBLE - 60 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: HUMBLE - 0 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: HUMBLE - Humble Crumble>, <ProductAttributeValue: HUMBLE - American Dream>, <ProductAttributeValue: HUMBLE - Hop Scotch>, <ProductAttributeValue: HUMBLE - Donkey Kahn>, <ProductAttributeValue: HUMBLE - Pee Wee Kiwi>, <ProductAttributeValue: HUMBLE - Smash Mouth>])], 'product': <Product: HUMBLE>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: RELL GREEN - 30 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: RELL GREEN - 0 + никобустер мг>])], 'product': <Product: RELL GREEN>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: RELL RED - 30 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: RELL RED - 20 мг>])], 'product': <Product: RELL RED>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: ZENITH - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ZENITH - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ZENITH - Draco>, <ProductAttributeValue: ZENITH - Gemini>, <ProductAttributeValue: ZENITH - Hydra>, <ProductAttributeValue: ZENITH - Lynx>, <ProductAttributeValue: ZENITH - Lyra>, <ProductAttributeValue: ZENITH - Orion>])], 'product': <Product: ZENITH>}
core/snippets/product_card.html
/app/core/templates/core/snippets/product_card.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: ЧТО НИБУДЬ - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ЧТО НИБУДЬ - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь с выпечкой>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь ягодное, лёд>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь необычное>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь с холодком>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь фруктовое, лёд>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь сладкое>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь табачное>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь кислое, лёд>])], 'product': <Product: ЧТО НИБУДЬ>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: Big Bottle Co - 120 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: Big Bottle Co - 6 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: Big Bottle Co - Cinnamon Cream>, <ProductAttributeValue: Big Bottle Co - Summer Drink>, <ProductAttributeValue: Big Bottle Co - Jelly Donut>, <ProductAttributeValue: Big Bottle Co - Blueberry Cake>, <ProductAttributeValue: Big Bottle Co - Pink Lemonade>])], 'product': <Product: Big Bottle Co>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: COCA COLA - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: COCA COLA - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: COCA COLA - Кола, лесные ягоды, лёд>, <ProductAttributeValue: COCA COLA - Кола classic, лёд>, <ProductAttributeValue: COCA COLA - Кола, черника, лёд>, <ProductAttributeValue: COCA COLA - Кола, виноград, лёд>, <ProductAttributeValue: COCA COLA - Кола, апельсин, лёд>, <ProductAttributeValue: COCA COLA - Кола, малина, лёд>, <ProductAttributeValue: COCA COLA - Кола, ваниль, лёд>, <ProductAttributeValue: COCA COLA - Кола, арбуз, лёд>])], 'product': <Product: COCA COLA>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: COCA COLA ICE - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: COCA COLA ICE - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: COCA COLA ICE - Кола, лесные ягоды, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола classic, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, черника, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, виноград, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, апельсин, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, малина, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, ваниль, лёд>, <ProductAttributeValue: COCA COLA ICE - Кола, арбуз, лёд>])], 'product': <Product: COCA COLA ICE>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: FANTA ICE - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: FANTA ICE - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: FANTA ICE - LACK>, <ProductAttributeValue: FANTA ICE - BLUE>, <ProductAttributeValue: FANTA ICE - GREEN>, <ProductAttributeValue: FANTA ICE - ORANGE>, <ProductAttributeValue: FANTA ICE - PINK>, <ProductAttributeValue: FANTA ICE - PURPLE>, <ProductAttributeValue: FANTA ICE - RED>, <ProductAttributeValue: FANTA ICE - YELLOW>])], 'product': <Product: FANTA ICE>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: FANTASI - 120 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: FANTASI - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: FANTASI - Черника, лёд>, <ProductAttributeValue: FANTASI - Манго, лёд>, <ProductAttributeValue: FANTASI - Виноград, лёд>, <ProductAttributeValue: FANTASI - Ананас, лёд>, <ProductAttributeValue: FANTASI - Вишня, лёд>])], 'product': <Product: FANTASI>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: FANTASI - 60 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: FANTASI - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: FANTASI - Черника, лёд>, <ProductAttributeValue: FANTASI - Манго, лёд>, <ProductAttributeValue: FANTASI - Виноград, лёд>, <ProductAttributeValue: FANTASI - Ананас, лёд>, <ProductAttributeValue: FANTASI - Вишня, лёд>])], 'product': <Product: FANTASI>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: HUMBLE - 60 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: HUMBLE - 0 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: HUMBLE - Humble Crumble>, <ProductAttributeValue: HUMBLE - American Dream>, <ProductAttributeValue: HUMBLE - Hop Scotch>, <ProductAttributeValue: HUMBLE - Donkey Kahn>, <ProductAttributeValue: HUMBLE - Pee Wee Kiwi>, <ProductAttributeValue: HUMBLE - Smash Mouth>])], 'product': <Product: HUMBLE>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: RELL GREEN - 30 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: RELL GREEN - 0 + никобустер мг>])], 'product': <Product: RELL GREEN>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: RELL RED - 30 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: RELL RED - 20 мг>])], 'product': <Product: RELL RED>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: ZENITH - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ZENITH - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ZENITH - Draco>, <ProductAttributeValue: ZENITH - Gemini>, <ProductAttributeValue: ZENITH - Hydra>, <ProductAttributeValue: ZENITH - Lynx>, <ProductAttributeValue: ZENITH - Lyra>, <ProductAttributeValue: ZENITH - Orion>])], 'product': <Product: ZENITH>}
core/snippets/product_card_list.html
/app/core/templates/core/snippets/product_card_list.html
Контекст {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: <function csrf.<locals>._get_val at ' '0x7078628ba480>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x707862663ce0>>'} {'attribute_filters': {}, 'available_attributes': {<AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 11, 'filtered_products_count': 11, 'has_new_products': True, 'has_next': False, 'has_previous': False, 'has_sale_products': True, 'hierarchical_categories': [{'category': <Category: Жидкости>, 'has_children': True, 'level': 0, 'products_count': 140}, {'category': <Category: Жидкости > Солевые жидкости>, 'has_children': False, 'level': 1, 'products_count': 129}, {'category': <Category: Жидкости > Щелочные жидкости>, 'has_children': False, 'level': 1, 'products_count': 11}, {'category': <Category: Расходники>, 'has_children': True, 'level': 0, 'products_count': 20}, {'category': <Category: Расходники > АКБ>, 'has_children': False, 'level': 1, 'products_count': 1}, {'category': <Category: Расходники > ИСПАРИТЕЛИ>, 'has_children': False, 'level': 1, 'products_count': 7}, {'category': <Category: Расходники > КАРТРИДЖИ>, 'has_children': False, 'level': 1, 'products_count': 12}, {'category': <Category: Снюс>, 'has_children': False, 'level': 0, 'products_count': 40}, {'category': <Category: Уголь для кальяна>, 'has_children': False, 'level': 0, 'products_count': 3}, {'category': <Category: Устройства>, 'has_children': True, 'level': 0, 'products_count': 33}, {'category': <Category: Устройства > Ингаляторы>, 'has_children': False, 'level': 1, 'products_count': 2}, {'category': <Category: Устройства > Одноразки>, 'has_children': False, 'level': 1, 'products_count': 22}, {'category': <Category: Устройства > Поды>, 'has_children': False, 'level': 1, 'products_count': 9}], 'in_stock': False, 'is_first_page': True, 'is_last_page': True, 'is_new': False, 'is_sale': False, 'items_on_page': 11, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': None, 'page_obj': <Page 1 of 1>, 'page_range': [], 'pagination': {'current_page': 1, 'end_index': 11, 'has_next': False, 'has_previous': False, 'is_first_page': True, 'is_last_page': True, 'items_on_page': 11, 'next_page': None, 'page_range': [], 'per_page': 12, 'previous_page': None, 'progress_percentage': 100.0, 'start_index': 1, 'total_items': 11, 'total_pages': 1}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 1>, 'progress_percentage': 100.0, 'sale_products_count': 10, 'selected_categories': [263], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 11, 'total_pages': 1, 'total_products_count': 218} {'block': <Block Node: content. Contents: [<TextNode: '\n<!-- Products Catalog Se'>, <URLNode view_name=''core:product_list'' args=[] kwargs={} as=None>, <TextNode: '" class="hover:text-accen'>, <Variable Node: categories|length|add:1>, <TextNode: ' категори'>, <Variable Node: categories|length|add:1|pluralize:"й,и,й">, <TextNode: '\n </span>\n'>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '"\n cla'>, <IfNode>, <TextNode: '">\n <i'>, <ForNode: for cat in categories, tail_len: 7>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n '>, <URLNode view_name=''core:catalog'' args=[] kwargs={} as=None>, <TextNode: '" class="text-accent-smok'>, <Variable Node: sort|default:'name'>, <TextNode: '">\n </'>, <Variable Node: total_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <Variable Node: filtered_products_count>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '>По названию</option>\n '>, <IfNode>, <TextNode: '>Сначала дешевле\n '>, <IfNode>, <TextNode: '>Сначала дороже\n '>, <IfNode>, <TextNode: '>Сначала новые</option>\n '>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <ForNode: for product in products, tail_len: 3>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n </div>\n '>]>} {'forloop': {'counter': 11, 'counter0': 10, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: ЧТО НИБУДЬ>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Объём>, list=[<ProductAttributeValue: ЧТО НИБУДЬ - 100 мл>]), GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ЧТО НИБУДЬ - 3 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь с выпечкой>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь ягодное, лёд>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь необычное>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь с холодком>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь фруктовое, лёд>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь сладкое>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь табачное>, <ProductAttributeValue: ЧТО НИБУДЬ - Что-нибудь кислое, лёд>])], 'product': <Product: ЧТО НИБУДЬ>}

Контекст процессоры

django.template.context_processors.csrf
Контекст {'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x7078628ba480>>}
django.template.context_processors.debug
Контекст {}
django.template.context_processors.request
Контекст {'request': <WSGIRequest: GET '/catalog/?categories=263'>}
django.contrib.auth.context_processors.auth
Контекст {'user': <SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x707862663ce0>>)}
django.contrib.messages.context_processors.messages
Контекст {'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=263'>>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}

Обращения к кэшу от 1 бэкенда

Краткая статистика

Всего вызовов Общее время Cache хитов Промахи кэша
5 77,72365072742105 ms 0 2

Команды

add get set get_or_set touch delete clear get_many set_many delete_many has_key incr decr incr_version decr_version
0 2 3 0 0 0 0 0 0 0 0 0 0 0 0

Вызовы

Время (мс) Тип Аргументы Именованные аргументы Бэкенд
0,0433 get ('views.decorators.cache.cache_header.vape_shop_page.3908dae95a5ed43b5ffaee26caf8bcdc.ru.Europe/Minsk',) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6300>
/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/django/middleware/cache.py in process_request(161)
  cache_key = get_cache_key(request, self.key_prefix, "GET", cache=self.cache)

/usr/local/lib/python3.12/site-packages/django/utils/cache.py in get_cache_key(392)
  headerlist = cache.get(cache_key)

0,0276 get ('vape_shop:attribute_values:0968d9dd',) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6300>
/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(173)
  cached_result = CacheService.get_cached_attribute_values(base_queryset, filters)

/app/core/services/cache_service.py in get_cached_attribute_values(151)
  cached_data = cache.get(cache_key)

77,0933 set ('vape_shop:attribute_values:0968d9dd', {<AttributeType: Затяжки>: <QuerySet [<AttributeValue: 1000>, <AttributeValue: 4000>, <AttributeValue: 4500>, <AttributeValue: 5000>, <AttributeValue: 5500>, <AttributeValue: 6000>, <AttributeValue: 6900>, <AttributeValue: 7000>, <AttributeValue: 8000>, <AttributeValue: 12000>, <AttributeValue: 15000>, <AttributeValue: 16000>, <AttributeValue: 18000>, <AttributeValue: 20000>, <AttributeValue: 100000>]>, <AttributeType: Цвет>: <QuerySet [<AttributeValue: Black>, <AttributeValue: camo red>, <AttributeValue: glitter gold>, <AttributeValue: Golden brown>, <AttributeValue: Kong>, <AttributeValue: Midnight Gold>, <AttributeValue: Pink city>, <AttributeValue: Space gray>, <AttributeValue: blue>, <AttributeValue: Camo star>, <AttributeValue: camo yellow>, <AttributeValue: Dawn blue>, <AttributeValue: glitter blue>, <AttributeValue: Graphite black>, <AttributeValue: Icy silver>, <AttributeValue: Midnight Red>, <AttributeValue: Shiny green>, <AttributeValue: glitter pink>, <AttributeValue: green>, <AttributeValue: Havy blue>, '...(remaining elements truncated)...']>, <AttributeType: Объём>: <QuerySet [<AttributeValue: 5 мл>, <AttributeValue: 10 мл>, <AttributeValue: 30 мл>, <AttributeValue: 60 мл>, <AttributeValue: 100 мл>, <AttributeValue: 120 мл>]>, <AttributeType: Крепость>: <QuerySet [<AttributeValue: 249 мг>, <AttributeValue: 0 мг>, <AttributeValue: 0 + никобустер мг>, <AttributeValue: 3 мг>, <AttributeValue: 6 мг>, <AttributeValue: 15 мг>, <AttributeValue: 16 мг>, <AttributeValue: 20 мг>, <AttributeValue: 25 мг>, <AttributeValue: 30 мг>, <AttributeValue: 35 мг>, <AttributeValue: 45 мг>, <AttributeValue: 50 мг>, <AttributeValue: 55 мг>, <AttributeValue: 60 мг>, <AttributeValue: 65 мг>, <AttributeValue: 70 мг>, <AttributeValue: 75 мг>, <AttributeValue: 80 мг>, <AttributeValue: 100 мг>, '...(remaining elements truncated)...']>, <AttributeType: Вкус>: <QuerySet [<AttributeValue: ADRENALINE>, <AttributeValue: CLASSIC (перечная мята)>, <AttributeValue: Draco>, <AttributeValue: EPIC - виноград, мята>, <AttributeValue: FATALITY (свежая мята)>, <AttributeValue: Humble Crumble>, <AttributeValue: LACK>, <AttributeValue: RUSH (гуарана)>, <AttributeValue: Ананас, вишня>, <AttributeValue: Ананас, кокос>, <AttributeValue: Ананас, манго, персик>, <AttributeValue: Ананас, черника>, <AttributeValue: Ананас, яблоко>, <AttributeValue: Апельсиновая шипучка>, <AttributeValue: Апельсин, смородина, вишня>, <AttributeValue: Арбуз>, <AttributeValue: Арбуз, жвачка>, <AttributeValue: Арбуз, жвачка, мята>, <AttributeValue: Арбуз, лимон>, <AttributeValue: Банановое молоко>, '...(remaining elements truncated)...']>}, 300) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6300>
/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/app/core/middleware.py in __call__(27)
  response = self.get_response(request)

/app/core/views.py in catalog_view(363)
  products_queryset, metadata = ProductService.get_filtered_products(filters)

/app/core/services/product_service.py in get_filtered_products(45)
  'available_attributes': FilterService.get_available_attribute_values(base_queryset, filters),

/app/core/services/filter_service.py in get_available_attribute_values(211)
  CacheService.set_cached_attribute_values(base_queryset, filters, available_attributes)

/app/core/services/cache_service.py in set_cached_attribute_values(175)
  cache.set(cache_key, values, cls.CACHE_TIMEOUTS['attribute_values'])

0,0385 set ('views.decorators.cache.cache_header.vape_shop_page.3908dae95a5ed43b5ffaee26caf8bcdc.ru.Europe/Minsk', ['HTTP_COOKIE'], 600) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6300>
/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/django/middleware/cache.py in process_response(121)
  cache_key = learn_cache_key(

/usr/local/lib/python3.12/site-packages/django/utils/cache.py in learn_cache_key(431)
  cache.set(cache_key, headerlist, cache_timeout)

0,5210 set ('views.decorators.cache.cache_page.vape_shop_page.GET.3908dae95a5ed43b5ffaee26caf8bcdc.d41d8cd98f00b204e9800998ecf8427e.ru.Europe/Minsk', <HttpResponse status_code=200, "text/html; charset=utf-8">, 600) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6300>
/usr/local/bin/gunicorn in <module>(6)
  sys.exit(run())

/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py in run(67)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(236)
  super().run()

/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in run(202)
  self.manage_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in manage_workers(571)
  self.spawn_workers()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_workers(642)
  self.spawn_worker()

/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py in spawn_worker(609)
  worker.init_process()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py in init_process(142)
  self.run()

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run(126)
  self.run_for_one(timeout)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in run_for_one(70)
  self.accept(listener)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in accept(32)
  self.handle(listener, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)

/usr/local/lib/python3.12/site-packages/gunicorn/workers/sync.py in handle_request(178)
  respiter = self.wsgi(environ, resp.start_response)

/app/core/middleware.py in __call__(93)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/usr/local/lib/python3.12/site-packages/django/middleware/cache.py in process_response(129)
  self.cache.set(cache_key, response, timeout)

Сигналы

Сигнал Получатели сигнала
class_prepared
connection_created
got_request_exception
m2m_changed
post_delete clear_page_cache_on_blogpost_change
post_init
post_migrate create_permissions, create_contenttypes
post_save setup_default_attributes, clear_page_cache_on_blogpost_change
pre_delete
pre_init
pre_migrate inject_rename_contenttypes_operations
pre_save
request_finished close_old_connections, close_caches, reset_urlconf
request_started reset_queries, close_old_connections
setting_changed reset_cache, clear_cache_handlers, update_installed_apps, update_connections_time_zone, clear_routers_cache, reset_template_engines, storages_changed, clear_serializers_cache, language_changed, localize_settings_changed, complex_setting_changed, root_urlconf_changed, static_storage_changed, static_finders_changed, form_renderer_changed, auth_password_validators_changed, user_model_swapped, update_toolbar_config, reset_hashers, Options.setting_changed, update_level_tags, clear_caches, StaticFilesStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, CompressorFileStorage._clear_cached_properties