Left: | ||
Right: |
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 - helpers for describing metadata fields of items | |
6 """ | |
7 | |
8 | |
9 from __future__ import absolute_import, division | |
10 | |
11 from collections import namedtuple | |
12 | |
13 | |
14 class IndexFieldSpec(namedtuple('IndexFieldSpec', 'label widget')): | |
15 pass | |
Thomas.J.Waldmann
2013/07/11 16:23:49
rather use a docstring than "pass"
also, I am won
xiaq
2013/07/12 01:31:22
The widgets in forms.py maybe?
They are related,
xiaq
2013/07/12 01:50:05
Ah, I forgot that the same widgets can be used for
Thomas.J.Waldmann
2013/07/13 14:40:58
maybe all of that stuff could go into widgets.* la
| |
OLD | NEW |