• Yohan Boniface's avatar
    [mod] Do not make Representative an abstract model for now · 8c6104e8
    Yohan Boniface authored
    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
models.py 2.99 KB