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

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
Показано: 40
40 из 218 товаров найдено
ARQA
-0%
В наличии
8,00 BYN

ARQA

Снюс ARQA
Крепость:
70 мг 150 мг
Вкус:
Бабл гам +39
8,00 BYN
Подробнее
ARQA CS
В наличии
8,00 BYN

ARQA CS

Снюс ARQA
Крепость:
120 мг
Вкус:
Банановый Шейк +10
8,00 BYN
Подробнее
ARQA DOTA
-0%
В наличии
8,00 BYN

ARQA DOTA

Снюс ARQA
Крепость:
120 мг
Вкус:
Фанта +10
8,00 BYN
Подробнее
ARQA LIT ENERGY
-0%
В наличии
8,00 BYN

ARQA LIT ENERGY

Снюс ARQA
Крепость:
120 мг
Вкус:
Ягоды, кокос +4
8,00 BYN
Подробнее
ARQA NO SLIM
-0%
В наличии
8,00 BYN

ARQA NO SLIM

Снюс ARQA
Крепость:
100 мг
Вкус:
Вишневый табак +5
8,00 BYN
Подробнее
ARQA SLIM
-0%
В наличии
8,00 BYN

ARQA SLIM

Снюс ARQA
Крепость:
100 мг
Вкус:
Вишня, кола +5
8,00 BYN
Подробнее
ARQA СЛОВО ПАЦАНА
-0%
В наличии
8,00 BYN

ARQA СЛОВО ПАЦАНА

Снюс ARQA
Крепость:
120 мг
Вкус:
Виноградный чу…
8,00 BYN
Подробнее
D.L.T.A. classic
Новинка
В наличии
10,00 BYN

D.L.T.A. classic

Снюс D.L.T.A.
Крепость:
100 мг
Вкус:
Арбуз, клубника +5
10,00 BYN
Подробнее
D.L.T.A. color
Новинка
В наличии
10,00 BYN

D.L.T.A. color

Снюс D.L.T.A.
Крепость:
150 мг
Вкус:
Малина, черная… +7
10,00 BYN
Подробнее
D.L.T.A. energy
В наличии
10,00 BYN

D.L.T.A. energy

Снюс D.L.T.A.
Крепость:
150 мг
Вкус:
ADRENALINE +15
10,00 BYN
Подробнее
D.L.T.A. hamster kombat
Новинка
В наличии
10,00 BYN

D.L.T.A. hamster kombat

Снюс D.L.T.A.
Крепость:
155 мг
Вкус:
EPIC - виногра… +5
10,00 BYN
Подробнее
D.L.T.A. ice cool
Новинка
В наличии
10,00 BYN

D.L.T.A. ice cool

Снюс D.L.T.A.
Крепость:
75 мг 105 мг
Вкус:
Ледяная мята
10,00 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 2115.413 мс
System CPU time 83.475 мс
Total CPU time 2198.888 мс
Затраченное время 3362.925 мс
Переключений контекста 322 намеренных, 590 вынужденных

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

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

Настройки из 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 0x707864782de0>
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 0x707866030720>}
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 1334816
Content-Type text/html; charset=utf-8
Expires Thu, 09 Apr 2026 05:19:46 GMT
Vary Cookie
X-Frame-Options DENY

WSGI-окружение

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

Заголовок Значение
PATH_INFO /catalog/
QUERY_STRING categories=267
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' '267'

Нет POST данных

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

  • default 467,75 ms (236 запросов включая 221 похожий и 77 дубликаты )
Запрос Временная диаграмма Время (мс) Действие
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 (267)
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."id" IN (267) ORDER BY "core_category"."name" ASC
3,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(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" = 267
 ORDER BY "core_category"."name" ASC
SELECT ••• FROM "core_category" WHERE "core_category"."parent_id" = 267 ORDER BY "core_category"."name" ASC
35 похожих запросов. Дублируется 3 раз.
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(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 (267))
 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 (267)) ORDER BY "core_product"."name" ASC
7,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(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 (494, 497, 498, 499, 496, 495, 500, 489, 490, 491, 493, 492, 415, 487, 483, 486, 488, 418, 416, 422, 405, 424, 485, 417, 425, 407, 404, 423, 419, 420, 484, 413, 421, 406, 414, 409, 410, 412, 408, 411)
 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 (494, 497, 498, 499, 496, 495, 500, 489, 490, 491, 493, 492, 415, 487, 483, 486, 488, 418, 416, 422, 405, 424, 485, 417, 425, 407, 404, 423, 419, 420, 484, 413, 421, 406, 414, 409, 410, 412, 408, 411) ORDER BY "core_productattributevalue"."position" ASC, "core_attributevalue"."position" ASC
3,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(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 ((2155), (2278), (2186), (2176), (2209), (2129), (2224), (2139), (2214), (1679), (2206), (2172), (2108), (2251), (2161), (2250), (2134), (2217), (2233), (2122), (2243), (2244), (2245), (1391), (1685), (2043), (1130), (1233), (956), (1095), (1060), (2137), (1970), (1969), (65), (2231), (1967), (1960), (1569), (1992), (2019), (67), (69), (1890), (1102), (1966), (72), (1961), (1968), (1143), (1964), (1971), (1833), (1973), (1963), (1962), (1974), (1965), (1972), (729), (757), (768), (787), (793), (812), (828), (2163), (2126), (2191), (2279), (2270), (2223), (2116), (2140), (2156), (2175), (2246), (2189), (2081), (2130), (2258), (2229), (2218), (2267), (2109), (2105), (2234), (692), (2021), (2112), (2240), (2067), (1365), (2205), (1144), (1162), (725), (1024), (760), (769), (801), (806), (1075), (1309), (2190), (2274), (2177), (2178), (2280), (2131), (2225), (2235), (2123), (2247), (2210), (2157), (2164), (2110), (2252), (2082), (2141), (2219), (2242), (2207), (2268), (1132), (2162), (1284), (1513), (1088), (1136), (701), (1570), (702), (1044), (722), (759), (766), (772), (804), (2230), (2135), (2142), (2239), (1380), (2124), (2248), (2158), (2117), (2165), (2111), (2220), (2253), (2106), (2259), (2271), (2215), (2083), (2211), (2200), (2208), (1482), (1793), (1295), (1104), (1755), (1478), (2084), (2107), (2125), (2127), (2132), (2136), (2143), (2159), (2166), (2173), (2201), (2249), (2260), (2269), (2272), (2275), (2283), (1096), (2121), (1100), (1671), (1880), (715), (737), (764), (800), (2074), (2167), (2281), (2276), (2273), (2261), (2284), (2226), (2254), (2179), (2118), (2128), (2192), (2212), (2133), (2216), (2241), (2085), (2144), (2169), (2221), (2160), (1535), (1566), (727), (778), (1236), (1176), (1791), (2174), (2236), (2202), (2086), (2138), (2145), (2113), (2222), (2119), (2170), (2227), (2193), (2213), (2168), (1467), (2114), (2277), (1099), (723), (1493), (1451), (991), (1852), (1235), (2087), (2120), (2228), (2203), (2146), (2262), (2285), (2194), (2237), (2187), (706), (1491), (2031), (1990), (2180), (2238), (2188), (2171), (2147), (2195), (2204), (2232), (2263), (2088), (1042), (762), (788), (1851), (992), (2282), (2286), (2196), (2255), (2181), (2089), (1537), (2148), (2264), (1452), (899), (2197), (2115), (2256), (2149), (1011), (802), (2265), (2090), (2257), (2150), (1076), (1065), (2266), (2151), (2198), (2152), (2182), (708), (2199), (2091), (2183), (2153), (2092), (2154), (2184), (2185), (2093), (1225), (2094), (2095), (2096), (2097), (1165), (2098), (2099), (2100), (2101), (2102), (2103), (2104))
SELECT ••• FROM "core_attributevalue" WHERE ("core_attributevalue"."id") IN ((2155), (2278), (2186), (2176), (2209), (2129), (2224), (2139), (2214), (1679), (2206), (2172), (2108), (2251), (2161), (2250), (2134), (2217), (2233), (2122), (2243), (2244), (2245), (1391), (1685), (2043), (1130), (1233), (956), (1095), (1060), (2137), (1970), (1969), (65), (2231), (1967), (1960), (1569), (1992), (2019), (67), (69), (1890), (1102), (1966), (72), (1961), (1968), (1143), (1964), (1971), (1833), (1973), (1963), (1962), (1974), (1965), (1972), (729), (757), (768), (787), (793), (812), (828), (2163), (2126), (2191), (2279), (2270), (2223), (2116), (2140), (2156), (2175), (2246), (2189), (2081), (2130), (2258), (2229), (2218), (2267), (2109), (2105), (2234), (692), (2021), (2112), (2240), (2067), (1365), (2205), (1144), (1162), (725), (1024), (760), (769), (801), (806), (1075), (1309), (2190), (2274), (2177), (2178), (2280), (2131), (2225), (2235), (2123), (2247), (2210), (2157), (2164), (2110), (2252), (2082), (2141), (2219), (2242), (2207), (2268), (1132), (2162), (1284), (1513), (1088), (1136), (701), (1570), (702), (1044), (722), (759), (766), (772), (804), (2230), (2135), (2142), (2239), (1380), (2124), (2248), (2158), (2117), (2165), (2111), (2220), (2253), (2106), (2259), (2271), (2215), (2083), (2211), (2200), (2208), (1482), (1793), (1295), (1104), (1755), (1478), (2084), (2107), (2125), (2127), (2132), (2136), (2143), (2159), (2166), (2173), (2201), (2249), (2260), (2269), (2272), (2275), (2283), (1096), (2121), (1100), (1671), (1880), (715), (737), (764), (800), (2074), (2167), (2281), (2276), (2273), (2261), (2284), (2226), (2254), (2179), (2118), (2128), (2192), (2212), (2133), (2216), (2241), (2085), (2144), (2169), (2221), (2160), (1535), (1566), (727), (778), (1236), (1176), (1791), (2174), (2236), (2202), (2086), (2138), (2145), (2113), (2222), (2119), (2170), (2227), (2193), (2213), (2168), (1467), (2114), (2277), (1099), (723), (1493), (1451), (991), (1852), (1235), (2087), (2120), (2228), (2203), (2146), (2262), (2285), (2194), (2237), (2187), (706), (1491), (2031), (1990), (2180), (2238), (2188), (2171), (2147), (2195), (2204), (2232), (2263), (2088), (1042), (762), (788), (1851), (992), (2282), (2286), (2196), (2255), (2181), (2089), (1537), (2148), (2264), (1452), (899), (2197), (2115), (2256), (2149), (1011), (802), (2265), (2090), (2257), (2150), (1076), (1065), (2266), (2151), (2198), (2152), (2182), (708), (2199), (2091), (2183), (2153), (2092), (2154), (2184), (2185), (2093), (1225), (2094), (2095), (2096), (2097), (1165), (2098), (2099), (2100), (2101), (2102), (2103), (2104))
5,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(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), (20))
SELECT ••• FROM "core_attributetype" WHERE ("core_attributetype"."id") IN ((18), (20))
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(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 (494, 497, 498, 499, 496, 495, 500, 489, 490, 491, 493, 492, 415, 487, 483, 486, 488, 418, 416, 422, 405, 424, 485, 417, 425, 407, 404, 423, 419, 420, 484, 413, 421, 406, 414, 409, 410, 412, 408, 411)
 ORDER BY "core_pricetier"."quantity" ASC
SELECT ••• FROM "core_pricetier" WHERE "core_pricetier"."product_id" IN (494, 497, 498, 499, 496, 495, 500, 489, 490, 491, 493, 492, 415, 487, 483, 486, 488, 418, 416, 422, 405, 424, 485, 417, 425, 407, 404, 423, 419, 420, 484, 413, 421, 406, 414, 409, 410, 412, 408, 411) ORDER BY "core_pricetier"."quantity" ASC
3,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(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 (494, 497, 498, 499, 496, 495, 500, 489, 490, 491, 493, 492, 415, 487, 483, 486, 488, 418, 416, 422, 405, 424, 485, 417, 425, 407, 404, 423, 419, 420, 484, 413, 421, 406, 414, 409, 410, 412, 408, 411)
 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 (494, 497, 498, 499, 496, 495, 500, 489, 490, 491, 493, 492, 415, 487, 483, 486, 488, 418, 416, 422, 405, 424, 485, 417, 425, 407, 404, 423, 419, 420, 484, 413, 421, 406, 414, 409, 410, 412, 408, 411) ORDER BY "core_tag"."name" ASC
4,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(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"
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(43)
  'total_products_count': base_queryset.count(),

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,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(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
2,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(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,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(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")
2,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(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 раз.
2,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(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,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(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 похожих запросов.
0,85

Соединение: 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 раз.
0,78

Соединение: 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,83

Соединение: 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,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(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,83

Соединение: 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 похожих запросов. Дублируется 3 раз.
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(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,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(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 похожих запросов.
0,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(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,02

Соединение: 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 раз.
0,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(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,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(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,05

Соединение: 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 раз.
0,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(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 похожих запросов. Дублируется 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(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 похожих запросов. Дублируется 3 раз.
2,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(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,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(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 похожих запросов.
2,02

Соединение: 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,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(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 раз.
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(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 раз.
2,78

Соединение: 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 раз.
2,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(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,05

Соединение: 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,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(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 раз.
3,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(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 раз.
0,99

Соединение: 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 похожих запросов.
0,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(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,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(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 раз.
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(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,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(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,99

Соединение: 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,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(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,05

Соединение: 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 раз.
2,23

Соединение: 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,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(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,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(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,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(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,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(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,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(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,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(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 похожих запросов. Дублируется 3 раз.
2,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(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 похожих запросов. Дублируется 3 раз.
2,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(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 похожих запросов.
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(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 похожих запросов.
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(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,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(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 раз.
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(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 похожих запросов.
2,23

Соединение: 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,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(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,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(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 раз.
2,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(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 раз.
3,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(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 раз.
2,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(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,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(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,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(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,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(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 раз.
3,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(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,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(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,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(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 раз.
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(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,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(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,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(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,86

Соединение: 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 раз.
5,86

Соединение: 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 раз.
3,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(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 похожих запросов.
4,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(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 раз.
0,96

Соединение: 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,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(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 раз.
3,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(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,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/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
1,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(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,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(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,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(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,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" = 295
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 295
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" = 296
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 296
76 похожих запросов.
0,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" = 297
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 297
76 похожих запросов.
2,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" = 252
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 252
76 похожих запросов.
0,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" = 258
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 258
76 похожих запросов.
2,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" = 232
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 232
76 похожих запросов.
1,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(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,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" = 271
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 271
76 похожих запросов.
1,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(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 похожих запросов.
0,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" = 239
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 239
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" = 254
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 254
76 похожих запросов.
0,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" = 293
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 293
76 похожих запросов.
0,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/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 похожих запросов.
0,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" = 237
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 237
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" = 238
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 238
76 похожих запросов.
1,85

Соединение: 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 похожих запросов.
0,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" = 243
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 243
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" = 298
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 298
76 похожих запросов.
0,86

Соединение: 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 похожих запросов.
0,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" = 248
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 248
76 похожих запросов.
2,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/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 похожих запросов.
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/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,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" = 300
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 300
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" = 277
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 277
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" = 286
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 286
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" = 240
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 240
76 похожих запросов.
1,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" = 251
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 251
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" = 266
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 266
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" = 231
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 231
76 похожих запросов.
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(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,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(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,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(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,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/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,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" = 235
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 235
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" = 301
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 301
76 похожих запросов.
2,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/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 похожих запросов.
2,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" = 303
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 303
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" = 291
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 291
76 похожих запросов.
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/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,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(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,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" = 304
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 304
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" = 244
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 244
76 похожих запросов.
2,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" = 269
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 269
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" = 234
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 234
76 похожих запросов.
3,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/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 похожих запросов.
0,78

Соединение: 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 похожих запросов.
0,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/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,23

Соединение: 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,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" = 305
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 305
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" = 257
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 257
76 похожих запросов.
1,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/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 похожих запросов.
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/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 похожих запросов.
0,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" = 253
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 253
76 похожих запросов.
0,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" = 274
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 274
76 похожих запросов.
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(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 похожих запросов.
0,80

Соединение: 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,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" = 246
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 246
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" = 289
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 289
76 похожих запросов.
0,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" = 267
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 267
76 похожих запросов.
1,02

Соединение: 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,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/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,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(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 похожих запросов.
0,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/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 похожих запросов.
0,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" = 278
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 278
76 похожих запросов.
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(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,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" = 290
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 290
76 похожих запросов.
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/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 похожих запросов.
0,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/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 похожих запросов.
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(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 похожих запросов.
0,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/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 похожих запросов.
0,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" = 280
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 280
76 похожих запросов.
2,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" = 262
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 262
76 похожих запросов.
4,83

Соединение: 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 похожих запросов.
0,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" = 241
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 241
76 похожих запросов.
0,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" = 281
SELECT COUNT(*) AS "__count" FROM "core_product" WHERE "core_product"."manufacturer_id" = 281
76 похожих запросов.
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(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,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" = 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 похожих запросов.
0,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/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 похожих запросов.
5,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/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 похожих запросов.
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" = 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,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" = 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,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(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,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(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 похожих запросов.
5,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" = 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 похожих запросов.
2,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/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 похожих запросов.
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" = 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 похожих запросов.
6,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/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,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" = 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,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" = 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 похожих запросов.
6,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" = 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 похожих запросов.
3,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/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 похожих запросов.
10,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/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 похожих запросов.
4,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/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 похожих запросов.
3,96

Соединение: 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 похожих запросов.
2,02

Соединение: 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 похожих запросов.
4,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/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 похожих запросов.
3,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" = 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 похожих запросов.
4,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/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 похожих запросов.
3,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" = 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 похожих запросов.
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" = 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 похожих запросов.
3,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/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 похожих запросов.
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/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 похожих запросов.
3,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/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,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(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 похожих запросов.
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/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 похожих запросов.
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/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 похожих запросов.
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" = 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,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" = 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,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/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 похожих запросов.
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(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 похожих запросов.
0,99

Соединение: 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,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" = 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 похожих запросов.
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(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 похожих запросов.
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(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 похожих запросов.
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(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,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(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,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(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,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/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 похожих запросов.
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/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,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" = 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,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/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 похожих запросов.
2,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" = 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 похожих запросов.
3,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" = 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,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/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 похожих запросов.
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/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 похожих запросов.
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/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" = 494 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 494 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
1,83

Соединение: 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" = 497 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 497 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 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" = 498 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 498 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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(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" = 499 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 499 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
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(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" = 496 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 496 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,23

Соединение: 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" = 495 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 495 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
6,05

Соединение: 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" = 500 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 500 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
3,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(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" = 489 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 489 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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()

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" = 490 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 490 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
4,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(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" = 491 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 491 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
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(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" = 493 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 493 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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(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" = 492 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 492 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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(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" = 494 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 494 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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(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" = 497 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 497 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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(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" = 498 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 498 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 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(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" = 499 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 499 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
2,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(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" = 496 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 496 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
4,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(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" = 495 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 495 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 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()

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" = 500 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 500 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
4,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(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" = 489 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 489 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
1,78

Соединение: 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" = 490 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 490 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
1,80

Соединение: 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" = 491 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 491 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
3,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(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" = 493 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 493 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
3,58

Соединение: 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" = 492 AND "core_productattributevalue"."available")
 LIMIT 1
SELECT 1 AS "a" FROM "core_productattributevalue" WHERE ("core_productattributevalue"."product_id" = 492 AND "core_productattributevalue"."available") LIMIT 1
24 похожих запросов. Дублируется 2 раз.
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(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

Шаблоны (обработано 26)

Пути к шаблонам

Нет

Шаблоны

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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA - 70 мг>, <ProductAttributeValue: ARQA - 150 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA - Бабл гам>, <ProductAttributeValue: ARQA - Банановый крем>, <ProductAttributeValue: ARQA - Холодная вишня>, <ProductAttributeValue: ARQA - Холодная кола>, <ProductAttributeValue: ARQA - Коктейль, черная вишня>, <ProductAttributeValue: ARQA - Холодный энергетик>, <ProductAttributeValue: ARQA - Черничный маффин>, <ProductAttributeValue: ARQA - Цитрусовый микс>, <ProductAttributeValue: ARQA - Холодный виноград>, <ProductAttributeValue: ARQA - Свежая мята>, <ProductAttributeValue: ARQA - Ледяные ягоды>, <ProductAttributeValue: ARQA - Коктейль bounty, лёд>, <ProductAttributeValue: ARQA - Манго, клубника>, <ProductAttributeValue: ARQA - Дыня, арбуз>, <ProductAttributeValue: ARQA - Карамельное мороженое, лёд>, <ProductAttributeValue: ARQA - Клубничный пунш>, <ProductAttributeValue: ARQA - Вишня, клубника, лёд>, <ProductAttributeValue: ARQA - Ледяной энергетик>, <ProductAttributeValue: ARQA - Тропический микс>, <ProductAttributeValue: ARQA - Ледяная кола>, <ProductAttributeValue: ARQA - Дыня, арбуз, лёд>, <ProductAttributeValue: ARQA - Сочный виноград>, <ProductAttributeValue: ARQA - Манго, персик>, <ProductAttributeValue: ARQA - Ягодный милкшейк>, <ProductAttributeValue: ARQA - Милкшейк classic>, <ProductAttributeValue: ARQA - Ледяная дыня>, <ProductAttributeValue: ARQA - Кислый ананас>, <ProductAttributeValue: ARQA - Сладкая клубника>, <ProductAttributeValue: ARQA - Коктейль мохито>, <ProductAttributeValue: ARQA - Нектарин, ваниль>, <ProductAttributeValue: ARQA - Нектарин, банан>, <ProductAttributeValue: ARQA - Пина колада>, <ProductAttributeValue: ARQA - Ягодный микс, цитрус>, <ProductAttributeValue: ARQA - Малина, виноград>, <ProductAttributeValue: ARQA - Фруктовый пирог>, <ProductAttributeValue: ARQA - Напиток schweppes>, <ProductAttributeValue: ARQA - Смузи из манго, клубника>, <ProductAttributeValue: ARQA - Клубничная жвачка>, <ProductAttributeValue: ARQA - Сладкий мармелад>, <ProductAttributeValue: ARQA - Сладкий десерт>])], 'product': <Product: ARQA>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA CS - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA CS - Банановый Шейк>, <ProductAttributeValue: ARQA CS - Ванильный пломбир>, <ProductAttributeValue: ARQA CS - Виноград, жвачка>, <ProductAttributeValue: ARQA CS - Голубика, черника>, <ProductAttributeValue: ARQA CS - Двойная мята>, <ProductAttributeValue: ARQA CS - Клубника, киви>, <ProductAttributeValue: ARQA CS - Клубника, кокос>, <ProductAttributeValue: ARQA CS - Клюква, малина>, <ProductAttributeValue: ARQA CS - Лимон, мята>, <ProductAttributeValue: ARQA CS - Манго, маракуйя>, <ProductAttributeValue: ARQA CS - Мексиканское манго>])], 'product': <Product: ARQA CS>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA DOTA - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA DOTA - Фанта>, <ProductAttributeValue: ARQA DOTA - Капучино>, <ProductAttributeValue: ARQA DOTA - Алоэ, виноград>, <ProductAttributeValue: ARQA DOTA - Ананас, банан, личи>, <ProductAttributeValue: ARQA DOTA - Арбуз, клубника>, <ProductAttributeValue: ARQA DOTA - Голубой лимонад>, <ProductAttributeValue: ARQA DOTA - Гранатовый сок, ягоды>, <ProductAttributeValue: ARQA DOTA - Йогурт, персик, клубника>, <ProductAttributeValue: ARQA DOTA - Морозная мята>, <ProductAttributeValue: ARQA DOTA - Персиковый чай>, <ProductAttributeValue: ARQA DOTA - Черный виноград>])], 'product': <Product: ARQA DOTA>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA LIT ENERGY - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA LIT ENERGY - Ягоды, кокос>, <ProductAttributeValue: ARQA LIT ENERGY - Черника>, <ProductAttributeValue: ARQA LIT ENERGY - Манго, кокос>, <ProductAttributeValue: ARQA LIT ENERGY - Энергетик original>, <ProductAttributeValue: ARQA LIT ENERGY - Энергетик classic>])], 'product': <Product: ARQA LIT ENERGY>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA NO SLIM - 100 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA NO SLIM - Вишневый табак>, <ProductAttributeValue: ARQA NO SLIM - Сладкая груша>, <ProductAttributeValue: ARQA NO SLIM - Двойное яблоко>, <ProductAttributeValue: ARQA NO SLIM - Кислый грейпфрут>, <ProductAttributeValue: ARQA NO SLIM - Ром, корица, мёд>, <ProductAttributeValue: ARQA NO SLIM - Освежающий тархун>])], 'product': <Product: ARQA NO SLIM>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA SLIM - 100 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA SLIM - Вишня, кола>, <ProductAttributeValue: ARQA SLIM - Мятная жвачка>, <ProductAttributeValue: ARQA SLIM - Малина>, <ProductAttributeValue: ARQA SLIM - Энергетик>, <ProductAttributeValue: ARQA SLIM - Тропический микс>, <ProductAttributeValue: ARQA SLIM - Арбузная жвачка>])], 'product': <Product: ARQA SLIM>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA СЛОВО ПАЦАНА - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA СЛОВО ПАЦАНА - Виноградный чупа чупс>])], 'product': <Product: ARQA СЛОВО ПАЦАНА>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. classic - 100 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. classic - Арбуз, клубника>, <ProductAttributeValue: D.L.T.A. classic - Черничный джем>, <ProductAttributeValue: D.L.T.A. classic - Лимонад>, <ProductAttributeValue: D.L.T.A. classic - Вишневая кола>, <ProductAttributeValue: D.L.T.A. classic - Арбуз, банан>, <ProductAttributeValue: D.L.T.A. classic - Виноград, черника, мята>])], 'product': <Product: D.L.T.A. classic>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. color - 150 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. color - Малина, черная смородина>, <ProductAttributeValue: D.L.T.A. color - Персик, манго, арбуз>, <ProductAttributeValue: D.L.T.A. color - Киви, клубника>, <ProductAttributeValue: D.L.T.A. color - Гранатовый лайм>, <ProductAttributeValue: D.L.T.A. color - Чернично-лимонная конфета>, <ProductAttributeValue: D.L.T.A. color - Лайм, мята>, <ProductAttributeValue: D.L.T.A. color - Шоколад, мята>, <ProductAttributeValue: D.L.T.A. color - Персиковый йогурт>])], 'product': <Product: D.L.T.A. color>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. energy - 150 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. energy - ADRENALINE>, <ProductAttributeValue: D.L.T.A. energy - RED BULL>, <ProductAttributeValue: D.L.T.A. energy - MONSTER>, <ProductAttributeValue: D.L.T.A. energy - BURN RED>, <ProductAttributeValue: D.L.T.A. energy - BURN GREEN>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, манго>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, цитрус>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, пепси>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, ягоды>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, личи>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом черники>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом тропических фруктов>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом арбуза>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом кокоса и ягод>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом ирги>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом груши и корицы>])], 'product': <Product: D.L.T.A. energy>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. hamster kombat - 155 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. hamster kombat - EPIC - виноград, мята>, <ProductAttributeValue: D.L.T.A. hamster kombat - LEGENDARY - яблоко, мята>, <ProductAttributeValue: D.L.T.A. hamster kombat - MASTER - бабл гам, мята>, <ProductAttributeValue: D.L.T.A. hamster kombat - GRANDMASTER - ледяная кола>, <ProductAttributeValue: D.L.T.A. hamster kombat - LORD - манго, лёд>, <ProductAttributeValue: D.L.T.A. hamster kombat - BOSS - виноград, лёд>])], 'product': <Product: D.L.T.A. hamster kombat>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. ice cool - 75 мг>, <ProductAttributeValue: D.L.T.A. ice cool - 105 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. ice cool - Ледяная мята>])], 'product': <Product: D.L.T.A. ice cool>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA - 70 мг>, <ProductAttributeValue: ARQA - 150 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA - Бабл гам>, <ProductAttributeValue: ARQA - Банановый крем>, <ProductAttributeValue: ARQA - Холодная вишня>, <ProductAttributeValue: ARQA - Холодная кола>, <ProductAttributeValue: ARQA - Коктейль, черная вишня>, <ProductAttributeValue: ARQA - Холодный энергетик>, <ProductAttributeValue: ARQA - Черничный маффин>, <ProductAttributeValue: ARQA - Цитрусовый микс>, <ProductAttributeValue: ARQA - Холодный виноград>, <ProductAttributeValue: ARQA - Свежая мята>, <ProductAttributeValue: ARQA - Ледяные ягоды>, <ProductAttributeValue: ARQA - Коктейль bounty, лёд>, <ProductAttributeValue: ARQA - Манго, клубника>, <ProductAttributeValue: ARQA - Дыня, арбуз>, <ProductAttributeValue: ARQA - Карамельное мороженое, лёд>, <ProductAttributeValue: ARQA - Клубничный пунш>, <ProductAttributeValue: ARQA - Вишня, клубника, лёд>, <ProductAttributeValue: ARQA - Ледяной энергетик>, <ProductAttributeValue: ARQA - Тропический микс>, <ProductAttributeValue: ARQA - Ледяная кола>, <ProductAttributeValue: ARQA - Дыня, арбуз, лёд>, <ProductAttributeValue: ARQA - Сочный виноград>, <ProductAttributeValue: ARQA - Манго, персик>, <ProductAttributeValue: ARQA - Ягодный милкшейк>, <ProductAttributeValue: ARQA - Милкшейк classic>, <ProductAttributeValue: ARQA - Ледяная дыня>, <ProductAttributeValue: ARQA - Кислый ананас>, <ProductAttributeValue: ARQA - Сладкая клубника>, <ProductAttributeValue: ARQA - Коктейль мохито>, <ProductAttributeValue: ARQA - Нектарин, ваниль>, <ProductAttributeValue: ARQA - Нектарин, банан>, <ProductAttributeValue: ARQA - Пина колада>, <ProductAttributeValue: ARQA - Ягодный микс, цитрус>, <ProductAttributeValue: ARQA - Малина, виноград>, <ProductAttributeValue: ARQA - Фруктовый пирог>, <ProductAttributeValue: ARQA - Напиток schweppes>, <ProductAttributeValue: ARQA - Смузи из манго, клубника>, <ProductAttributeValue: ARQA - Клубничная жвачка>, <ProductAttributeValue: ARQA - Сладкий мармелад>, <ProductAttributeValue: ARQA - Сладкий десерт>])], 'product': <Product: ARQA>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA CS - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA CS - Банановый Шейк>, <ProductAttributeValue: ARQA CS - Ванильный пломбир>, <ProductAttributeValue: ARQA CS - Виноград, жвачка>, <ProductAttributeValue: ARQA CS - Голубика, черника>, <ProductAttributeValue: ARQA CS - Двойная мята>, <ProductAttributeValue: ARQA CS - Клубника, киви>, <ProductAttributeValue: ARQA CS - Клубника, кокос>, <ProductAttributeValue: ARQA CS - Клюква, малина>, <ProductAttributeValue: ARQA CS - Лимон, мята>, <ProductAttributeValue: ARQA CS - Манго, маракуйя>, <ProductAttributeValue: ARQA CS - Мексиканское манго>])], 'product': <Product: ARQA CS>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA DOTA - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA DOTA - Фанта>, <ProductAttributeValue: ARQA DOTA - Капучино>, <ProductAttributeValue: ARQA DOTA - Алоэ, виноград>, <ProductAttributeValue: ARQA DOTA - Ананас, банан, личи>, <ProductAttributeValue: ARQA DOTA - Арбуз, клубника>, <ProductAttributeValue: ARQA DOTA - Голубой лимонад>, <ProductAttributeValue: ARQA DOTA - Гранатовый сок, ягоды>, <ProductAttributeValue: ARQA DOTA - Йогурт, персик, клубника>, <ProductAttributeValue: ARQA DOTA - Морозная мята>, <ProductAttributeValue: ARQA DOTA - Персиковый чай>, <ProductAttributeValue: ARQA DOTA - Черный виноград>])], 'product': <Product: ARQA DOTA>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA LIT ENERGY - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA LIT ENERGY - Ягоды, кокос>, <ProductAttributeValue: ARQA LIT ENERGY - Черника>, <ProductAttributeValue: ARQA LIT ENERGY - Манго, кокос>, <ProductAttributeValue: ARQA LIT ENERGY - Энергетик original>, <ProductAttributeValue: ARQA LIT ENERGY - Энергетик classic>])], 'product': <Product: ARQA LIT ENERGY>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA NO SLIM - 100 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA NO SLIM - Вишневый табак>, <ProductAttributeValue: ARQA NO SLIM - Сладкая груша>, <ProductAttributeValue: ARQA NO SLIM - Двойное яблоко>, <ProductAttributeValue: ARQA NO SLIM - Кислый грейпфрут>, <ProductAttributeValue: ARQA NO SLIM - Ром, корица, мёд>, <ProductAttributeValue: ARQA NO SLIM - Освежающий тархун>])], 'product': <Product: ARQA NO SLIM>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA SLIM - 100 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA SLIM - Вишня, кола>, <ProductAttributeValue: ARQA SLIM - Мятная жвачка>, <ProductAttributeValue: ARQA SLIM - Малина>, <ProductAttributeValue: ARQA SLIM - Энергетик>, <ProductAttributeValue: ARQA SLIM - Тропический микс>, <ProductAttributeValue: ARQA SLIM - Арбузная жвачка>])], 'product': <Product: ARQA SLIM>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: ARQA СЛОВО ПАЦАНА - 120 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: ARQA СЛОВО ПАЦАНА - Виноградный чупа чупс>])], 'product': <Product: ARQA СЛОВО ПАЦАНА>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. classic - 100 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. classic - Арбуз, клубника>, <ProductAttributeValue: D.L.T.A. classic - Черничный джем>, <ProductAttributeValue: D.L.T.A. classic - Лимонад>, <ProductAttributeValue: D.L.T.A. classic - Вишневая кола>, <ProductAttributeValue: D.L.T.A. classic - Арбуз, банан>, <ProductAttributeValue: D.L.T.A. classic - Виноград, черника, мята>])], 'product': <Product: D.L.T.A. classic>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. color - 150 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. color - Малина, черная смородина>, <ProductAttributeValue: D.L.T.A. color - Персик, манго, арбуз>, <ProductAttributeValue: D.L.T.A. color - Киви, клубника>, <ProductAttributeValue: D.L.T.A. color - Гранатовый лайм>, <ProductAttributeValue: D.L.T.A. color - Чернично-лимонная конфета>, <ProductAttributeValue: D.L.T.A. color - Лайм, мята>, <ProductAttributeValue: D.L.T.A. color - Шоколад, мята>, <ProductAttributeValue: D.L.T.A. color - Персиковый йогурт>])], 'product': <Product: D.L.T.A. color>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. energy - 150 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. energy - ADRENALINE>, <ProductAttributeValue: D.L.T.A. energy - RED BULL>, <ProductAttributeValue: D.L.T.A. energy - MONSTER>, <ProductAttributeValue: D.L.T.A. energy - BURN RED>, <ProductAttributeValue: D.L.T.A. energy - BURN GREEN>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, манго>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, цитрус>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, пепси>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, ягоды>, <ProductAttributeValue: D.L.T.A. energy - Adrenaline, личи>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом черники>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом тропических фруктов>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом арбуза>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом кокоса и ягод>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом ирги>, <ProductAttributeValue: D.L.T.A. energy - Red Bull со вкусом груши и корицы>])], 'product': <Product: D.L.T.A. energy>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. hamster kombat - 155 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. hamster kombat - EPIC - виноград, мята>, <ProductAttributeValue: D.L.T.A. hamster kombat - LEGENDARY - яблоко, мята>, <ProductAttributeValue: D.L.T.A. hamster kombat - MASTER - бабл гам, мята>, <ProductAttributeValue: D.L.T.A. hamster kombat - GRANDMASTER - ледяная кола>, <ProductAttributeValue: D.L.T.A. hamster kombat - LORD - манго, лёд>, <ProductAttributeValue: D.L.T.A. hamster kombat - BOSS - виноград, лёд>])], 'product': <Product: D.L.T.A. hamster kombat>}
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 ' '0x707863b0dda0>>', 'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <function ' 'AuthenticationMiddleware.process_request.<locals>.<lambda> at ' '0x70786376d9e0>>'} {'attribute_filters': {}, 'available_attributes': {<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: 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: 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)...']>}, 'available_products_count': 218, 'categories': '<<queryset of core.Category>>', 'current_page': 1, 'end_index': 12, 'filtered_products_count': 40, 'has_new_products': True, 'has_next': True, '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': False, 'is_new': False, 'is_sale': False, 'items_on_page': 12, 'manufacturers': '<<queryset of core.Manufacturer>>', 'new_products_count': 7, 'next_page': 2, 'page_obj': <Page 1 of 4>, 'page_range': [1, 2, 3, 4], 'pagination': {'current_page': 1, 'end_index': 12, 'has_next': True, 'has_previous': False, 'is_first_page': True, 'is_last_page': False, 'items_on_page': 12, 'next_page': 2, 'page_range': [1, 2, 3, 4], 'per_page': 12, 'previous_page': None, 'progress_percentage': 25.0, 'start_index': 1, 'total_items': 40, 'total_pages': 4}, 'per_page': 12, 'previous_page': None, 'products': <Page 1 of 4>, 'progress_percentage': 25.0, 'sale_products_count': 10, 'selected_categories': [267], 'selected_manufacturers': [], 'selected_price_max': None, 'selected_price_min': None, 'sort': 'name', 'start_index': 1, 'total_items': 40, 'total_pages': 4, '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': 12, 'counter0': 11, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'product': <Product: D.L.T.A. ice cool>} {'attribute_groups': [GroupedResult(grouper=<AttributeType: Крепость>, list=[<ProductAttributeValue: D.L.T.A. ice cool - 75 мг>, <ProductAttributeValue: D.L.T.A. ice cool - 105 мг>]), GroupedResult(grouper=<AttributeType: Вкус>, list=[<ProductAttributeValue: D.L.T.A. ice cool - Ледяная мята>])], 'product': <Product: D.L.T.A. ice cool>}

Контекст процессоры

django.template.context_processors.csrf
Контекст {'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x707863b0dda0>>}
django.template.context_processors.debug
Контекст {}
django.template.context_processors.request
Контекст {'request': <WSGIRequest: GET '/catalog/?categories=267'>}
django.contrib.auth.context_processors.auth
Контекст {'user': <SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>, 'perms': PermWrapper(<SimpleLazyObject: <function AuthenticationMiddleware.process_request.<locals>.<lambda> at 0x70786376d9e0>>)}
django.contrib.messages.context_processors.messages
Контекст {'messages': <FallbackStorage: request=<WSGIRequest: GET '/catalog/?categories=267'>>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}

Обращения к кэшу от 1 бэкенда

Краткая статистика

Всего вызовов Общее время Cache хитов Промахи кэша
4 16,126736998558044 ms 1 1

Команды

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 2 0 0 0 0 0 0 0 0 0 0 0 0

Вызовы

Время (мс) Тип Аргументы Именованные аргументы Бэкенд
0,0303 get ('views.decorators.cache.cache_header.vape_shop_page.fd1d69c32894ecb5a19e8d2a48b5b123.ru.Europe/Minsk',) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6000>
/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)

13,3961 get ('vape_shop:attribute_values:1078c299',) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6000>
/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)

0,0538 set ('views.decorators.cache.cache_header.vape_shop_page.fd1d69c32894ecb5a19e8d2a48b5b123.ru.Europe/Minsk', ['HTTP_COOKIE'], 600) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6000>
/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)

2,6465 set ('views.decorators.cache.cache_page.vape_shop_page.GET.fd1d69c32894ecb5a19e8d2a48b5b123.d41d8cd98f00b204e9800998ecf8427e.ru.Europe/Minsk', <HttpResponse status_code=200, "text/html; charset=utf-8">, 600) {} <django.core.cache.backends.locmem.LocMemCache object at 0x7078643e6000>
/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