|
|
@@ -56,3 +56,15 @@ class HistoryData(models.Model):
|
|
|
|
|
|
class Meta:
|
|
|
db_table = "history_data"
|
|
|
+
|
|
|
+
|
|
|
+class HistoryDayData(models.Model):
|
|
|
+
|
|
|
+ id = models.AutoField("ID", primary_key=True)
|
|
|
+ cityid = models.CharField("城市ID", max_length=64, blank=True, null=True)
|
|
|
+ province = models.CharField("省", max_length=64, blank=True, null=True)
|
|
|
+ city = models.CharField("市", max_length=64, blank=True, null=True)
|
|
|
+ district = models.CharField("区", max_length=64, blank=True, null=True)
|
|
|
+ content = models.TextField("天气")
|
|
|
+ class Meta:
|
|
|
+ db_table = "history_today"
|