Carl Meyer
|
396dd9274f
|
use manager_from for inheritance-casting
|
2010-10-05 09:01:26 -04:00 |
|
Gregor Müllegger
|
216db6c098
|
Creating a custom QuerySet subclass for InheritanceCastModel to provide a way to batch cast a queryset of parents into child types. It's (2 + m) queries instead of (1 + n * 2) now (n: number of returned objects, m: number of different types in the queryset).
|
2010-10-01 20:43:22 +02:00 |
|
Carl Meyer
|
726f0de1dd
|
minor cleanup
|
2010-04-27 13:25:45 -04:00 |
|
Jannis Leidel
|
911b5223c8
|
Fixed bug which prevented the StatusModel and TimeframedModel to get the appropriate QueryManager instances added dynamically before instantiation.
|
2010-04-26 22:30:01 +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 |
|
Jannis Leidel
|
ff44c8de10
|
Moved the setting of the dynamic QueryManager to model classes. Removed metaclasses.
|
2010-04-16 00:01:38 +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
|
73b211309d
|
Marked a few labels for translation.
|
2010-04-15 04:49:51 +02:00 |
|
Jannis Leidel
|
7716c6397e
|
Minor cleanups.
|
2010-04-15 04:43:27 +02:00 |
|
Carl Meyer
|
2d018ca847
|
added TimeStampedModel
--HG--
extra : convert_revision : carl%40dirtcircle.com-20090702201429-hph32omqgfgrga52
|
2009-07-02 16:14:29 -04: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 |
|