Alejandro Varas
452ac5cd21
Added choices_name parameter to StatusField
2013-11-14 16:12:31 -03:00
Filipe Ximenes
3d82ec89b4
only accepting iterables to the when field
2013-10-11 08:24:00 -03:00
Filipe Ximenes
e3450977bd
adding 'when' parameter to MonitorField
2013-10-11 00:08:38 -03:00
Carl Meyer
216d0b7095
Fix GH-41: re-add get_FOO_display method to models with StatusField.
2013-05-02 11:33:48 -06:00
Trey Hunner
32bb718107
Remove reduntant "as" in import
2013-04-12 17:13:35 -07:00
Trey Hunner
e6293d9b0c
Remove datetime imports unused by Django 1.4+
2013-04-12 17:13:31 -07:00
Trey Hunner
4f2673e6a4
Fix str/unicode problems in Python 3
...
Changes:
- Use unicode_literals from the future for Python 2.6.5+
- Use six's text_type for proper unicode use in Python 2/3
2013-04-12 14:16:42 -07:00
Trey Hunner
59e484e17f
Fix StatusField bug
...
Fixes #29
2013-04-09 14:28:53 -07:00
Carl Meyer
147fdf5d89
Remove silly uses of setattr.
2013-02-21 16:31:29 -07:00
Felipe Prenholato
cce804da4e
Assert that StatusField respects default arguments.
2013-02-21 17:08:15 -03:00
Carl Meyer
6ae66e0153
Removed a bunch of deprecated code.
2013-01-27 13:30:31 -08:00
Donald Stufft
31e5fb3c4a
updated to use the new 1.4 timezones
2012-01-07 17:43:39 -05:00
Carl Meyer
b7c5a59390
Fixed using SplitField on an abstract base model class.
2011-04-28 20:59:52 -05:00
Carl Meyer
ab70211d29
Removed unneeded creation_counter increment.
2011-04-28 19:59:46 -05:00
Carl Meyer
552f7c2009
Fixed #2 - Updated SplitField for 1.2-style prep_value method.
2011-02-18 16:45:39 -05:00
Jannis Leidel
8e2893f1b7
Fixed typo.
2010-04-23 12:47:38 +02:00
Jannis Leidel
43138fbaaa
Extended South introspection rules to handle StatusField and MonitorField.
2010-04-23 12:44:59 +02:00
Carl Meyer
545bccf3ce
convert StatusModifiedField to generic MonitorField, use post_init signal instead of extra DB query
2010-04-15 23:47:28 -04:00
Carl Meyer
c43b1ba99d
remove previous_status from StatusField public API
...
I may be missing the use case, but this seems too ephemeral to be
useful (only exists on same instance after a save, can't rely on it
being there in general). If it's just an implementation detail for
StatusModifiedField, it doesn't need to be tested in public API for
StatusField.
2010-04-15 23:07:12 -04:00
Jannis Leidel
2c8d042cf3
Removed the need for the status choices to be a subclass of model_utils.Choices.
2010-04-16 00:12:08 +02:00
Jannis Leidel
cac35036d3
Fixed terrible typo.
2010-04-15 23:59:31 +02: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
35d25f0a0f
Added TimeFramedModel and ConditionalModel.
2010-04-15 04:53:55 +02:00
Jannis Leidel
7716c6397e
Minor cleanups.
2010-04-15 04:43:27 +02:00
Carl Meyer
9147becfc9
made SplitField compatible with South FakeORM
2010-01-31 10:54:36 -05:00
Carl Meyer
dfd804bba2
added has_more property to SplitField
2010-01-27 23:37:31 -05:00
Carl Meyer
85157347f1
added SplitField
2010-01-15 17:26:59 -05:00
Carl Meyer
0e6de5ae75
support South for custom fields
2010-01-06 23:20:31 -05:00
Carl Meyer
2d018ca847
added TimeStampedModel
...
--HG--
extra : convert_revision : carl%40dirtcircle.com-20090702201429-hph32omqgfgrga52
2009-07-02 16:14:29 -04:00