Fixes: 1) Remove unused imports for serializers and inline_serializer from drf_spectacular.utils.
Extra: Refactor and simplify code by replacing inline schema definitions with centralized schema references (TOKEN_OBTAIN_SCHEMA, TOKEN_REFRESH_SCHEMA, TOKEN_VERIFY_SCHEMA) and removing redundant response examples.
Fixes: 1) Adjust import order in `core/models.py` for better consistency;
Extra: Refactor formatting for better readability in `core/models.py`; Update `pyproject.toml` version to 2.6.2; Update compiled translation file `cs_CZ/LC_MESSAGES/django.mo`.
Fixes: 1) Replace RelatedOnlyFieldListFilter with AllValuesFieldListFilter for "tags__tag_name" and "stocks__vendor__name" to fix filter behavior.
Extra: None;
Fixes: 1) Add missing sys import in caches.py; 2) Ensure CACHEOPS_REDIS is only declared when CACHEOPS_ENABLED is True;
Extra: 1) Formatting and cleanup for readability in settings and auto-resolve methods; 2) Rearrange cacheops import in base settings;
Fixes: 1) Refine logic in vendor category and brand handling to correctly handle multiple active/inactive entries;
Extra: 1) Add missing import for `registry` in Elasticsearch module; 2) Minor cleanup and spacing adjustments in Elasticsearch and vendor modules.
Fixes: 1) Correct file formatting for consistency in poetry.lock;
Extra: Perform general cleanup of file structure and hash formatting in poetry.lock for better readability;
Fixes: 1) Correctly handle `IntegrityError` and `MultipleObjectsReturned` exceptions in `process_attribute` to prevent crashes; 2) Add missing imports for `django.db.IntegrityError`, `Attribute`, and `AttributeGroup`.
Extra: Cleanup formatting in `poetry.lock` for consistent style.
Fixes: None;
Extra: 1) Update indentation for improved readability; 2) Set ELASTICSEARCH_DSL_AUTOSYNC and ELASTICSEARCH_DSL_PARALLEL to False for configuration change;
Fixes: 1) Prevent potential incorrect execution of `instance.finalize()` by adding else block;
Extra: 1) Add spacing for improved readability; 2) Minor formatting tweaks in signal logic.
Fixes: 1) Prevent error by adding user check when processing non-PENDING orders; 2) Remove redundant status assignment and save for CREATED orders; 3) Add missing error handler for POST requests in settings;
Extra: None;
Fixes: None;
Extra: 1) Update poetry.lock for the new aiosmtpd package; 2) Perform formatting changes to json and hash entries in poetry.lock for consistency.
1) Add Celery shared_task decorator to `update_stock` method for asynchronous execution.
Fixes:
1) Replace direct `update_stock()` calls with `update_stock.delay()` to enable task queuing.
Extra:
1) Add missing import for `shared_task` in `core/vendors/__init__.py`.
1) Add error handling with logger and custom error message for holiday API requests;
Fixes:
(none);
Extra:
1) Replace direct API response raising with try-except block for better robustness and logging;
1) Add `BrandProductDetailSerializer` with logo fields (small_logo, big_logo);
2) Replace `BrandDetailSerializer` with `BrandProductDetailSerializer` in `ProductDetailSerializer`;
Fixes:
(none);
Extra:
1) Minor structural adjustments for code clarity;
1) Enhance `OpenApiParameter` usage by introducing structured keyword arguments to improve readability and maintainability;
Fixes:
1) Remove redundant `location` parameter for consistency in parameter definitions;
Extra:
1) Refactor `extend_schema` definitions with a uniform formatting style for better clarity and alignment;
2) Update response structures to improve readability and maintain consistent indentation.
1) Add fallback to use `msgid` when user input is empty during translation prompt.
Fixes:
1) Fix alignment and indentation issues in API request data formatting.
Extra:
1) Minor formatting and whitespace cleanup in placeholder regex and related functions;
2) Regenerate `.mo` file for `cs_CZ` locale.
1) Enhance lookup logic to support UUID validation for products in viewsets;
2) Add extensive filtering, sorting, and attributes documentation for product endpoints;
3) Define new OpenAPI parameters for querying products with detailed constraints.
Fixes:
1) Add missing import for `UUID` in core viewsets.
Extra:
1) Refactor and reorganize product API schema for clarity and consistency.
1) None;
Fixes:
1) Corrected formatting of "fuzzy" flags in multiple locale `.po` files for consistent syntax;
Extra:
1) No functional changes, only formatting updates in translation files;