Fixes: 1) Remove unused migration file `0037_alter_vendor_b2b_auth_token`; 2) Update `b2b_auth_token` field in `Vendor` model to remove uniqueness constraint;
Extra: 1) Add explicit return type annotation to `Vendor.save` method.
Fixes: 1) Adjust `is_business` property logic for accuracy; 2) Fix import cleanup in serializers and utils files;
Extra: Refactor `core.models`, `core.utils`, and `core.vendors` for improved type annotations and other minor adjustments; Expand mypy exclusions in `pyproject.toml`.
Fixes: 1) Correct iml file structure for better compatibility;
Extra: Update `.idea/evibes.iml` to include Django-specific settings for project consistency;
Fixes: 1) Handle `user` lookup more robustly using `getattr`; 2) Prevent redundant list creation in distinct value processing;
Extra: 1) Use consistent cache key variable; 2) Improve code readability with `defaultdict` for grouping; 3) Minor cleanup and formatting enhancements; 4) Remove unnecessary attribute redefinitions.
Fixes: 1) Resolved misaligned line annotations for translations; 2) Corrected minor grammatical inconsistencies in Polish and German translations.
Extra: Adjusted formatting for improved readability across multiple language files.
Fixes: 1) Remove redundant logic for `attributes` handling in `emailing.py`;
Extra: 1) Minor refactor in `process_order_changes` for better attribute management.
Fixes: 1) Remove unused `_` import in `drf.py`; 2) Trim redundant newline in `apply_addresses` method;
Extra: 1) Fix minor formatting in `deepl_translate.py` command; 2) Simplify `SPECTACULAR_PLATFORM_DESCRIPTION` string handling; 3) Minor refactoring and cleanup in email utility and related logic.
Fixes: 1) Remove obsolete API documentation and translations from locale files;
Extra: Cleared out unused gettext entries, improving locale management.
Fixes: 1) Correct incorrect type annotations and imports for `readline` in `deepl_translate` command; 2) Remove unused variables `billing_address` and `shipping_address` in address application logic.
Extra: Add `# type: ignore` comments to suppress type-checking errors across admin classes.
Fixes: 1) Correct logic for optional address validation to avoid runtime errors;
Extra: 1) Change documentation settings format from "Google" to "Plain".
Fixes: 1) Corrected `apply_addresses` logic to handle address validation more robustly; 2) Fixed incorrect imports and annotations for better type safety; 3) Resolved typos and clarified docstrings for various views and methods.
Extra: Adjusted formatting, added `# type: ignore` for stricter type checks, and removed unused `dist/` directory from `.dockerignore`.
Fixes: 1) Streamline queryset filtering in `delete_inactives` by removing redundant line breaks;
Extra: 1) Minor formatting cleanup for improved code readability;
Fixes: 1) Correct indentation in multiple locations across `viewsets.py` for better readability; 2) Resolve inconsistent logging formatting in `signals.py`;
Extra: 1) Minor formatting adjustments in `views.py` and `signals.py`; 2) Clean up trailing blank lines across files.
Fixes: 1) Replace usage of `slugify` with direct access to `obj.slug` in sitemap location methods;
Extra: 1) Remove unused `slugify` import from `core/sitemaps.py`.
Fixes: 1) Correct avatar resolution in `resolve_avatar` method for cases where `url` or `name` attributes are missing; 2) Refresh user object from the database after avatar update to avoid stale data;
Extra: 1) Rename `BulkActionOrderProductInput` to `BulkProductInput` for consistency; 2) Minor code refactorings and adjustments for clarity.
Fixes: 1) Add missing `transaction` import in `core/models.py`.
Extra: 1) Refactor order product status updates to use the new method; 2) Enhance readability and maintainability of order processing logic.
Fixes: 1) Update `logger.debug` call to improve readability; 2) Correct `promocode` key to `promocode_uuid` in order attributes dictionary to ensure consistent naming.
Extra: 1) Minor cleanup and code comments in `Order` processing logic.
Fixes: 1) Corrected indentation inconsistency in delete_never_ordered_products command; 2) Fixed improper formatting of log handler configurations.
Extra: Adjusted logging to conform to best practices; amended middleware exception handling logic to improve code readability.
Fixes: 1) Correct type annotations in `buy` and `bulk_add_products` methods for improved type safety;
Extra: 1) Refactor `buy` method for enhanced readability and maintainability; 2) Update usage of `self` to `order` for clarity in dynamic order creation scenarios.
Fixes: 1) Ensure accurate return types in resolver methods to avoid potential runtime issues;
Extra: 1) Minor code consistency improvements in `object_types.py`;
Fixes: 1) Update logging configuration to align all logger instances to use "django" instead of "evibes"; 2) Remove unused logging configuration for "django.request";
Extra: 1) Add detailed error logging in GraphQL execution to include exception messages.