• 2024-07-26Django 在哪里存储模型级变量
    所以我有我的模型:fromdjango.dbimportmodelsx_default_coordinate=0y_default_coordinate=0classModel(models.Model):location1=gis_models.PointField(srid=4326,default=Point(x_default_coordinate,y_default_coordinate))location2