Cakupan
Cakupan
Bases: BaseAttachmentDataTable
Context model to attach to meaning from Konsep
via CakupanXKonsep
.
Fields
nama
(TextField): the context name- null: False
- unique: True
keterangan
(TextField): the description of the context- null: True
Attrs
connection_table
(BaseRelationshipTable
):CakupanXKonsep
Source code in samudra/models/core/cakupan.py
CakupanXKonsep
Bases: BaseRelationshipTable
A many-to-many relationship between Cakupan
and Konsep
.
Fields
cakupan
(ForeignKeyField): foreign key toCakupan
.- field:
Cakupan.id
- backref:
Cakupan.konsep
- on delete: cascade
- field:
konsep
(ForeignKeyField): foreign key tokonsep
.- field:
Konsep.id
- backref:
Konsep.cakupan
- on delete: cascade
- field: