|
|
@@ -10,10 +10,10 @@ from django.utils.decorators import method_decorator
|
|
|
from django.conf import settings
|
|
|
import json
|
|
|
import logging
|
|
|
-logging.basicConfig(
|
|
|
- level=logging.INFO, # or DEBUG if you want more detail
|
|
|
- format="%(asctime)s [%(levelname)s] %(name)s: %(message)s"
|
|
|
-)
|
|
|
+# logging.basicConfig(
|
|
|
+# level=logging.INFO, # or DEBUG if you want more detail
|
|
|
+# format="%(asctime)s [%(levelname)s] %(name)s: %(message)s"
|
|
|
+# )
|
|
|
import os
|
|
|
from core.services.image_scorer import ImageQualityScorer
|
|
|
from core.models import AttributeScore, CategoryAttributeRule, ProductContentRule, Product
|