-
Yohan Boniface a rédigé
It's not possible to have a ForeignKey pointing on an abstract model, so we have two options to keep Representative: keep in asbtract, and make mandatory to define one and just one class that inherit from it ; have it non abstract, and so having the possibilty to create serveral classes that inherit from Representative, but so it means that all requests will have a JOIN between the two tables
Yohan Boniface a rédigéIt's not possible to have a ForeignKey pointing on an abstract model, so we have two options to keep Representative: keep in asbtract, and make mandatory to define one and just one class that inherit from it ; have it non abstract, and so having the possibilty to create serveral classes that inherit from Representative, but so it means that all requests will have a JOIN between the two tables