yf_yzl 2 лет назад
Родитель
Сommit
137ba7e247
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      crond_script/crond_weather.py

+ 1 - 0
crond_script/crond_weather.py

@@ -66,6 +66,7 @@ province_dict = {
 def init_data():
 def init_data():
     # 导入全部的城市
     # 导入全部的城市
     for k in all_city:
     for k in all_city:
+        print(k, "-------------")
         District.objects.get_or_create(
         District.objects.get_or_create(
             id=k[0],
             id=k[0],
             defaults={
             defaults={