From 7dd914f8a6f5e732579aa0ce952842a586cc8542 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 03 2014 22:14:34 +0000 Subject: We cannot have twice the same backref, that's confusing and invalid --- diff --git a/progit/hooks/progit_ticket_hook.py b/progit/hooks/progit_ticket_hook.py index f9535a2..4e48d68 100644 --- a/progit/hooks/progit_ticket_hook.py +++ b/progit/hooks/progit_ticket_hook.py @@ -41,7 +41,7 @@ class ProgitTicketsTable(BASE): active = sa.Column(sa.Boolean, nullable=False, default=False) project = relation( - 'Project', remote_side=[Project.id], backref='progit_hook') + 'Project', remote_side=[Project.id], backref='progit_hook_tickets') class ProgitTicketsForm(wtf.Form):