OLD | NEW |
(Empty) | |
| 1 # Copyright: 2013 MoinMoin:CheerXiao |
| 2 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details. |
| 3 |
| 4 """ |
| 5 MoinMoin - schema helpers |
| 6 |
| 7 This package contains helpers for dealing with sets of metadata fields |
| 8 associated with certain itemtypes, or borrowing relation database terms, the |
| 9 "schema" of that itemtype. |
| 10 |
| 11 Although the metadata of items is stored in JSON and thus schema-free, various |
| 12 information about metadata fields is often useful, e.g. how a certain field |
| 13 should be displayed in the index, or edited in the metadata editor. The Whoosh |
| 14 indexer also needs a schema. |
| 15 |
| 16 Currently this package only has helpers for displaying metadata, but eventually |
| 17 MoinMoin/forms.py should belong here too. There might be support for a more |
| 18 dynamic Whoosh schema too (which is now hardcoded in |
| 19 MoinMoin/storage/middleware/indexing.py). |
| 20 """ |
OLD | NEW |