Mercurial > p > roundup > code
diff roundup/roundupdb.py @ 6148:8497bf3f23a1
Allow to define reverse Multilinks
Now it's possible to specify a rev_multilink parameter when creating
Link or Multilink properties. The parameter takes a property name to be
inserted into the linked-to class. It allows to navigate from the other
side of the link as if it where a forward Multilink using the existing
data structures.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 29 Apr 2020 16:30:27 +0200 |
| parents | 2b53c310089f |
| children | 443f80297ac1 |
line wrap: on
line diff
--- a/roundup/roundupdb.py Sun Apr 12 21:03:55 2020 +0100 +++ b/roundup/roundupdb.py Wed Apr 29 16:30:27 2020 +0200 @@ -46,7 +46,7 @@ gpg = None -class Database: +class Database(object): # remember the journal uid for the current journaltag so that: # a. we don't have to look it up every time we need it, and
