Carl Meyer
7c19b761e2
Merged in fix for Django 1.1 recursion error from Paul McLanahan.
2011-03-30 10:20:37 -04:00
Paul McLanahan
d8798fb784
Fixed a recursion error in Django 1.1
2011-03-29 21:57:49 -04:00
Carl Meyer
36b99304c2
Merged in PassThroughManager from Paul McLanahan.
2011-03-29 13:10:50 -04:00
Carl Meyer
2e54d57bca
Added zyegfryed and sayane to the AUTHORS list.
2011-03-29 12:48:32 -04:00
Carl Meyer
e418cc909a
Fixed issue #6 , bug with InheritanceManager and descriptor fields (e.g. FileField).
...
Thanks zyegfryed for the fix and sayane for tests.
2011-03-29 12:47:25 -04:00
Carl Meyer
1a8f7c5087
Added tox config.
2011-03-29 12:41:22 -04:00
zyegfryed
ae64c23b39
Fixed related subclasses parsing. Was raising AttributeError on FileField.
2011-03-29 14:59:50 +02:00
Paul McLanahan
04c848e8c7
Added tests for PassThroughManager.
2011-03-09 14:44:10 -05:00
Paul McLanahan
a2c8e41225
Added usage info for PassThroughManager to the README.
2011-03-09 13:47:44 -05:00
Paul McLanahan
c624d7a301
Added PassThroughManager to managers.
...
Added me to authors.
2011-03-08 13:52:32 -05:00
Carl Meyer
a3c838adda
Bumped version for dev.
2011-02-18 17:20:11 -05:00
Carl Meyer
d6b017ee6e
Bump version for release.
2011-02-18 16:47:52 -05:00
Carl Meyer
1bd1bbb7b7
README tweaks
2011-02-18 16:47:21 -05:00
Carl Meyer
552f7c2009
Fixed #2 - Updated SplitField for 1.2-style prep_value method.
2011-02-18 16:45:39 -05:00
Carl Meyer
ac36cbf56c
Added InheritanceManager, contributed by Jeff Elmore.
2010-11-23 12:48:23 -05:00
Carl Meyer
820f479ec5
update TODO
2010-10-05 09:10:26 -04:00
Carl Meyer
396dd9274f
use manager_from for inheritance-casting
2010-10-05 09:01:26 -04:00
Carl Meyer
a2c67934ed
additional test, docs cleanup
2010-10-05 08:59:25 -04:00
Gregor Müllegger
c5caaadcaf
Added myself to the list of authors.
2010-10-01 21:01:19 +02:00
Gregor Müllegger
6049a9cc6e
Added documentation for cast() queryset method.
2010-10-01 21:00:38 +02: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
ad62c4503c
added to TODO
2010-09-28 18:24:55 -04:00
Carl Meyer
75e819c260
fix long-description rst
2010-09-24 10:36:53 -04:00
Carl Meyer
4f316877c1
bump version for dev
2010-09-24 10:34:01 -04:00
Carl Meyer
29f9f3e8fb
Added tag 0.5.0 for changeset 004dbee634cb
2010-09-24 10:33:25 -04:00
Carl Meyer
6f8b1e1ab0
bump version to 0.5.0
2010-09-24 10:33:09 -04:00
Carl Meyer
1d4613e807
make tests compatible with pre-1.2
2010-09-24 10:30:58 -04:00
Carl Meyer
5da38ee0c6
manager_from bugfix from George Sakkis; fixes #1
2010-08-16 17:58:16 -04:00
Carl Meyer
afafdd2bf9
make manager_from Django 1.1 compatible
2010-07-30 22:45:45 -04:00
Carl Meyer
cfd6578fe5
improve test coverage
2010-07-30 22:36:24 -04:00
Carl Meyer
2f18def084
ignore .coverage
2010-07-30 22:36:13 -04:00
Carl Meyer
aed583f763
added manager_from (thanks George Sakkis)
2010-07-30 22:09:46 -04:00
Carl Meyer
726f0de1dd
minor cleanup
2010-04-27 13:25:45 -04:00
Carl Meyer
be0f667204
fix typos in test names
2010-04-27 13:19:08 -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
Jannis Leidel
8e2893f1b7
Fixed typo.
2010-04-23 12:47:38 +02:00
Jannis Leidel
e4564f73db
Automated merge with http://bitbucket.org/carljm/django-model-utils/
2010-04-23 12:45:15 +02:00
Jannis Leidel
43138fbaaa
Extended South introspection rules to handle StatusField and MonitorField.
2010-04-23 12:44:59 +02:00
Carl Meyer
bae9816c8a
documentation for last commit
2010-04-22 13:13:03 -04:00
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
115cdca933
README tweaks
2010-04-16 09:31:55 -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
acbf46abb2
remove duplication between StatusModel tests
2010-04-15 23:59:05 -04:00
Carl Meyer
3e78add2d5
split out TimeFramedModel tests
2010-04-15 23:55:24 -04:00
Carl Meyer
d95f9efcf1
consistent PEP8 test method names
2010-04-15 23:52:31 -04: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
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