Basically if the database object isn't instantiated the backref doesn't work, so before checking if there is a relation between the project and the plugin's table, instantiate the database object.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
rebased onto 831b8a24379f66a53a072171815d5df76a31793a
rebased onto 34f65f1136ed9f019eda64b5191d3f324929ce76
rebased onto cfaf194824874afbd0d1ac2f4022fb18f32d2e00
rebased onto 23eab4cdb40a81fa89bb5dee15176a069b53c1f9
1 new commit added
Black fix
rebased onto 7741e2c7598d99d14ff007ec154ea204da9e8512
rebased onto 84211bc9969aa5bbc7ada361b78265345f6229d3
:thumbsup:
Thanks for the review :)
rebased onto 775b00677ba3065e563f88eb7f32d0d7e2af36ed
Pull-Request has been merged by pingou
Basically if the database object isn't instantiated the backref doesn't
work, so before checking if there is a relation between the project and
the plugin's table, instantiate the database object.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr