📜  city_light.models - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:53.541000             🧑  作者: Mango

代码示例1
from cities_light.models import City

class UserProfile(models.Model):
    city = models.ForeignKey(City) #taking for example the user profile model that requires city