Myvideo

Guest

Login

Django Foreign Key Deletion Constraints

Uploaded By: Myvideo
2 views
0
0 votes
0

In this tutorial we review the 7 behaviours that we can define for when the referenced object is deleted in a foreign key relationship. Timeline: 00:00 Introduction 00:53 Setup 03:01 SET_NULL 05:40 SET_DEFAULT 07:02 CASCADE 08:26 PROTECT 09:11 SET 10:59 DO_NOTHING 11:18 RESTRICT Reading: #

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later