Kata asing
KataAsing
Bases: BaseAttachmentDataTable
Foreign Word model to attach to meaning from Konsep
via KataAsingXKonsep
.
Field
nama
(TextField): the word- null: False
bahasa
(TextField): the language the word belongs to
Attr
connection_table
(BaseRelationshipTable
) =KataAsingXKonsep
Source code in samudra/models/core/kata_asing.py
KataAsingXKonsep
Bases: BaseRelationshipTable
A many-to-many relationship between KataAsing
and Konsep
.
Fields
KataAsing
(ForeignKeyField): foreign key toKataAsing
.- field:
KataAsing.id
- backref:
KataAsing.konsep
- on delete: cascade
- field:
konsep
(ForeignKeyField): foreign key tokonsep
.- field:
Konsep.id
- backref:
Konsep.kata_asing
- on delete: cascade
- field: