rename backref to singular
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 9 May 2012 11:24:25 +0000 (13:24 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 9 May 2012 11:24:25 +0000 (13:24 +0200)
sfa/storage/model.py

index 70258b6..dc93146 100644 (file)
@@ -176,7 +176,7 @@ class RegAuthority (RegRecord):
          secondary=authority_pi_table,
          primaryjoin=RegRecord.record_id==authority_pi_table.c.authority_id,
          secondaryjoin=RegRecord.record_id==authority_pi_table.c.pi_id,
-         backref='reg_authorities_as_pis')
+         backref='reg_authorities_as_pi')
     
     def __init__ (self, **kwds):
         # fill in type if not previously set