Last updated on November 4, 2018
Our models have now changed and a new model has been added to e-lo.
In RawText, we store the input, in BlobText we store the functions from TextBlob lib. If we remove the instance from the first table, we also need to remove it from the second. Ref on_delete = models.CASCADE
Lets add two instances and view them, then delete them.
Now we view instances in the first table, then add a instance to the second table, using the id as reference for the new object regarding foreign key.
And then delete only from the first table.