yf_yzl %!s(int64=2) %!d(string=hai) anos
pai
achega
3c2761af8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/Weather/models.py

+ 1 - 1
apps/Weather/models.py

@@ -3,7 +3,7 @@ from django.db import models
 
 class District(models.Model):
 
-    id = models.AutoField("ID", primary_key=True)
+    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)