Fixes: 1) Replace deprecated `RelatedAutocompleteFilter` with `AutocompleteFieldListFilter`; 2) Fix validation and handling of lookup values for admin filters.
Extra: 1) Update CSS for consistent styling of autocomplete widgets; 2) Remove unused `autocomplete_list_filter` assets and references; 3) Refactor JS for better maintainability and performance improvements.
Fixes: 1) Correct inconsistent spacing in `core/admin.py` field attribute assignments and methods.
Extra: 1) Format HTML and Python code for improved readability; 2) Replace inline script with `DOMContentLoaded` listener for better code structure.
Fixes: 1) Correct handling of initial selection when lookup value is invalid or missing;
Extra: 1) Refactor related admin template and Python code to improve readability and maintainability; 2) Align variable names and code style for consistency.
Fixes: 1) Remove redundant jQuery UI script and CSS imports for optimization;
Extra: 1) Minor formatting adjustments for readability; 2) Replace variable `base_url` with `base` for naming consistency; 3) Improve `expected_parameters` method to return list format.
Fixes: 1) Replace outdated jQuery UI paths with modern equivalents; 2) Ensure proper retrieval of JSON responses in autocomplete widget; 3) Correct misaligned parameter initialization in `AdminFilter`;
Extra: Minor formatting improvements and variable renaming for readability.
Fixes: 1) Ensure default value for `lookup_val` is an empty string if not provided; 2) Correct `field_name` parameter in the autocomplete URL to use `field_path`;
Extra: 1) Minor cleanup by removing redundant variable declarations.
Fixes: 1) Add missing imports for `FieldListFilter` and `reverse` in `core/admin.py`;
Extra: 1) Include relevant JS and CSS assets for autocomplete functionality; 2) Add comments and structure for better readability in template and script.
Fixes: 1) Remove unnecessary imports related to the deleted functionality.
Extra: 1) Extensive cleanup to remove redundant code and references; 2) Minor formatting adjustments for improved readability.
Fixes: 1) Correct file paths for JavaScript and CSS dependencies in admin filter components;
Extra: Streamlined template and asset references for better maintainability;
Fixes: 1) Clean up unused imports in `filters.py`.
Extra: 1) Apply consistent string quoting across `admin.py` for formatting standardization; 2) Update logging configuration for `django.template` with new filter.
Fixes: 1) Remove unused imports from `core/admin.py`;
Extra: 1) Delete redundant `autocomplete_filter.html` template and associated filter classes for cleanup; 2) Minor refactoring of `ProductAdmin` class in alignment with the removal of filters.
Fixes: 1) Replace hardcoded `AutocompleteListFilter` with newly created filters for better modularity;
Extra: 1) Refactor queryset string handling and enhance readability in filter choices; 2) Update admin `list_filter` with new filter classes.
Fixes: 1) Remove unused `django-autocompletefilter` package and adjust imports; 2) Clean up related settings and dependency references;
Extra: Minor formatting adjustments in `payments/admin.py`.
Fixes: 1) Remove deprecated `dalf` package from dependencies and configurations;
Extra: Update `poetry.lock` file and related hashes to reflect changes;
Fixes: 1) Replace `DALFModelAdmin` with `ModelAdmin` in `ProductAdmin` class; 2) Remove invalid use of `DALFChoicesField` for `list_filter` in `ProductAdmin`;
Extra: 1) Add missing import for `forms` and `get_select2_language`; 2) General cleanup and refactoring of `ProductAdmin` class.
Fixes: 1) Correct use of `@action` decorator within `ActivationActionsMixin` for defining admin actions; 2) Remove unused `BasicModelAdmin` inheritance from multiple admin classes.
Extra: Refactor and simplify admin imports and site registration for better readability and maintainability.
Fixes: 1) Removed unused imports to reduce clutter; 2) Simplified media property in `ProductAdmin` by removing unnecessary customization logic.
Extra: Refactored all admin model classes to utilize `ActivationActionsMixin` for consistency and maintainability.
Fixes: 1) Correct handling of the Select2 i18n file path in admin media to prevent issues with optional language files;
Extra: 1) Minor refactoring to streamline JavaScript file list construction.
Fixes: 1) Update paths for JavaScript assets to remove redundant `admin/js/vendor` prefix;
Extra: 1) Simplify file list construction by adjusting paths for consistency.
Fixes: 1) Replace `DALFRelatedFieldAjax` with `DALFRelatedOnlyField` for vendor stock field.
Extra: 1) Minor formatting adjustments in `api_urls.py` for readability.
Fixes: 1) Resolve inconsistency by replacing `DALFRelatedOnlyField` with `DALFRelatedFieldAjax`;
Extra: Clean up admin field definitions to align with the latest field usage.
Fixes: 1) Correct list_filter fields for brand and category in ProductAdmin to use proper lookup names;
Extra: 1) Add missing import for forms and get_select2_language from
Fixes: 1) Correct formatting of multi-line expressions for better readability; 2) Ensure consistent use of single-line expressions where appropriate; 3) Fix minor spacing issues in text fields; 4) Adjust admin model field `general_fields` to include `priority`;
Extra: Refactored several multi-line statements to improve consistency and code style.