Skip to content
  • Yohan Boniface's avatar
    [mod] Do not make Representative an abstract model for now · 8c6104e8
    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
    8c6104e8