Suppose we have two models, Person and Worker.
Know, I want to alter the name of Person to InterestPerson.
How does Django exactly knows that the new name belongs to the old one?
I was looking in the generated tables in DB and in the migrations, but I can't figure out how is he able to make the relation.
Same applies with fields, datatypes, lengths... etc.