yf_yzl пре 2 година
родитељ
комит
4e6da1cc1c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      crond_script/crond_weather.py

+ 1 - 1
crond_script/crond_weather.py

@@ -78,7 +78,7 @@ def main():
     district = District.objects.all() 
     init_data()
     logging.warning("up...")
-    results = District.objects.filter(id__gt = 65).filter(id__lt = 70)
+    results = District.objects.filter(id__gt = 65).filter(id__lt = 80)
     # 更新数据
     for row in results:
         temp = row.city   # 东城区