我有以下型号:Django。从模型地图领域在数据库表字段
class MyModel(models.Model):
field_one = models.CharField(max_length=255)
field_two = models.CharField(max_length=255)
class Meta:
db_table = "super_table"
和下面的数据库表:
CREATE TABLE public.super_table
(
id integer NOT NULL DEFAULT nextval('super_table_id_seq'::regclass),
field_two character varying(255) NOT NULL,
field_three character varying(255) NOT NULL,
)
可不知何故,我在模型field_three
在地图field_one
我的super_table
?