Commit graph

22 commits

Author SHA1 Message Date
Carl Meyer
8ea75e53f4 Check for StatusModel field name conflicts correctly. 2014-01-06 16:03:44 -07: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
676424e388 Move ModelTracker to tracker module 2013-02-18 16:21:14 -08:00
Trey Hunner
c528a347e0 Add ModelTracker with tests 2013-02-16 14:52:31 -08: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
69d0985db1 Started deprecation for manager_from, InheritanceCastModel, and Django 1.1 support. 2011-04-16 14:51:14 -05:00
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