我成功地创建了一个"Cities“部分,但当添加任何城市名称时,都会添加"City Object 1”。这会在从API密钥读取JSON时产生错误。from django.db import models
name = models.CharField(max_length=25)def _str_(self): #show the actual city name on the dashboard
c
public class Maincity { City [] cityArr = new Cityir = new City(nameArr[i], rRandom, xRandom, yRandom); }System.out.println(Distance(cityArr));
public static int Dis