Fix demo purge import formatting
This commit is contained in:
@@ -4,7 +4,6 @@ from dataclasses import dataclass
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
|
||||
IDEA_PRODUCT_TITLES = {
|
||||
"B2B Webshop Starter Blueprint",
|
||||
"AI Product Description System",
|
||||
@@ -100,6 +99,7 @@ class Command(BaseCommand):
|
||||
|
||||
def _purge_products(self, *, dry_run: bool, keep_only_idea_products: bool) -> int:
|
||||
from oscar.core.loading import get_model
|
||||
|
||||
from oscar_elasticsearch.search.signal_handlers import (
|
||||
deregister_signal_handlers,
|
||||
register_signal_handlers,
|
||||
|
||||
Reference in New Issue
Block a user