3๐
โ
-
In your database maybe have table is
django_content_type
. Andcontent_type
,content_type_id
,content_object
reference in this table. Its use for define anything like โtypeโ of yourdata
. -
Like a
wheel
, it maybe wheel ofcar
orbicycle
. In this casecar
andbicycle
is acontent_object
. And id ofcar
andbicycle
in tabledjango_content_type
iscontent_type_id
๐คNgoc Pham
Source:stackexchange.com