model_id

Brightcells %!s(int64=6) %!d(string=hace) años
padre
commit
be0a4b6335
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pre/views.py

+ 1 - 1
pre/views.py

@@ -216,7 +216,7 @@ def refreshm():
216 216
     logs = ConsumeInfoSubmitLogInfo.objects.filter(test_user=False)
217 217
     for log in logs:
218 218
         try:
219
-            mdl = ModelInfo.objects.get(brand_id=log.brand_id)
219
+            mdl = ModelInfo.objects.get(model_id=log.model_id)
220 220
         except ModelInfo.DoesNotExist:
221 221
             continue
222 222
         ymd = tc.local_string(tc.to_local_datetime(log.created_at), format='%Y%m%d')