Can't delete user due to foreign key restraint

For me when I ran into this error, I just followed what it said, i.e. I deleted the user from coursecreator table first (not sure if thats is the correct name of the table). And then tried to delete it again from User table. (Using Django/Python Shell)

2 Likes