- Timestamp:
- 8 Mar 2012, 22:28:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/converters.txt
r7811 r7819 10 10 11 11 .. :NOdoctest: 12 .. :NOlayer: waeup.kofa.testing.K OFAUnitTestLayer12 .. :NOlayer: waeup.kofa.testing.KofaUnitTestLayer 13 13 14 14 … … 672 672 '1' 673 673 674 >>> from waeup.kofa.interfaces import SimpleK OFAVocabulary674 >>> from waeup.kofa.interfaces import SimpleKofaVocabulary 675 675 >>> field = Choice( 676 676 ... title = u'Favourite Dish', 677 677 ... default = 0, 678 ... vocabulary = SimpleK OFAVocabulary(678 ... vocabulary = SimpleKofaVocabulary( 679 679 ... ('N/A', 0), ('Pizza', 1), 680 680 ... ('Cake', 2), ('Muffins', 3)),
Note: See TracChangeset for help on using the changeset viewer.