MODEL
RELATIONSHIP
E-COMMERCE
ORGANIZE
ON_DELETE
Types
ForeignKey
ManyToMany
Multiple
Second
Featured
Product
Collection
Cart
Customer
Order
Association
Class
Coupling
Min
Cohesion
High
Avoid
Monolith
Coupling
High
Conditions
Parent
Exist
Specify
Child
Reverse
Auto
OneToOne
Product
Circular
Generic
on_delete
SET_NULL
Nullable
RelatedName
+
Between
Apps
Identify
Get
Type
Id
ContentType
PositiveIntegerField
GenericForeignKey()
content_object
content_type
object_id
CASCADE
PROTECT
RESTRICT
SET_NULL
SET()
DO_NOTHING
CHOICES
Enum
Field
All
Pass
Tuple
List
Default
FIELDS
Char
Decimal
Integer
Positive
Text
Date
DateTime