yf_yzl 2 년 전
부모
커밋
7b102ead20
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/Weather/models.py

+ 1 - 1
apps/Weather/models.py

@@ -5,7 +5,7 @@ class District(models.Model):
 
     id = models.BigIntegerField("ID", primary_key=True)
     city = models.CharField("城市", max_length=64, blank=True, null=True)
-    pid = models.IntegerField("PID", blank=True, null=True)
+    pid = models.CharField("PID",max_length=64,  blank=True, null=True)
 
     class Meta:
         db_table = "district"