Closed mruz closed 3 years ago
If the field is empty, e.g. parent_id = NULL, then "get related model" returns an empty instance (there is no record associated with it) instead of null.
parent_id = NULL
If the field is empty, e.g.
parent_id = NULL
, then "get related model" returns an empty instance (there is no record associated with it) instead of null.