Mercurial > p > roundup > code
diff roundup/backends/blobfiles.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 | 3175bb92ca28 |
| children | 8c371af7e785 |
line wrap: on
line diff
--- a/roundup/backends/blobfiles.py Sun Apr 12 21:03:55 2020 +0100 +++ b/roundup/backends/blobfiles.py Wed Apr 29 16:30:27 2020 +0200 @@ -34,7 +34,7 @@ num_files = num_files + files_in_dir(full_filename) return num_files -class FileStorage: +class FileStorage(object): """Store files in some directory structure Some databases do not permit the storage of arbitrary data (i.e.,
