Commit graph

14 commits

Author SHA1 Message Date
Carl Meyer
d4951f6651 added triple option in Choices to split db representation from code constant 2010-04-22 13:02:25 -04:00
Carl Meyer
238571ed43 docs, AUTHORS, Changelog... 2010-04-16 00:37:12 -04:00
Carl Meyer
f64f16b053 Choices should be indexable as if it were a two-tuple 2010-04-16 00:11:31 -04:00
Carl Meyer
fecda79f5c deprecate ChoiceEnum and document Choices 2010-04-15 22:54:37 -04:00
Carl Meyer
02b2082e90 Fix Choices docstring, minor code changes:
- remove __getitem__, no need for it anymore
- remove implicit lowercasing (principle of least surprise: strings are usually case sensitive)
2010-04-15 22:32:33 -04:00
Carl Meyer
cb46293b0a merge backout 2010-04-15 22:30:03 -04:00
Carl Meyer
8efaf852c8 Backed out changeset c05246980ddf 2010-04-15 22:16:10 -04:00
Carl Meyer
49760e3559 merge backout 2010-04-15 22:15:54 -04:00
Carl Meyer
c236944568 Backed out changeset 4e9eb14b9047 2010-04-15 22:15:39 -04:00
Jannis Leidel
ee4f42f851 Added new `Choices class as a replacement for ChoiceEnum`. Also renamed Condition* et al to Status*. 2010-04-15 20:00:44 +02:00
Jannis Leidel
1fce7073e2 Added get_<choice>_display function to ChoiceNum to easily display human readable option label. 2010-04-15 04:36:21 +02:00
Jannis Leidel
50919b9ff4 Added ability to optionally use a label on ChoiceEnums choices. Useful for translation. 2010-04-10 00:50:35 +02:00
Carl Meyer
a2dcac06de added ChoiceEnum 2010-01-12 21:47:28 -05:00
Carl Meyer
3247ac5d4b initial import (with InheritanceCastModel)
--HG--
extra : convert_revision : carl%40dirtcircle.com-20090702180302-idhig8pzmbv8nv7l
2009-07-02 14:03:02 -04:00