Commit graph

113 commits

Author SHA1 Message Date
Carl Meyer
c6bb3da275 Document interaction of InheritanceManager and select_related. Refs #7. 2011-12-14 12:16:13 -07:00
Carl Meyer
3c93995d46 Fixed typo in changelog - thanks Ryan. 2011-12-06 09:39:57 -07:00
Carl Meyer
57351d1219 Tweaked docs and added changelog note. 2011-12-05 17:09:18 -07:00
Carl Meyer
8c6af71713 Updated PassThroughManager.for_queryset_class for less ambiguous behavior in case of incorrect usage. 2011-12-05 17:08:51 -07:00
Ryan Kaskel
6afa9d566d Add convenience method to PassThroughManager. 2011-12-04 13:57:16 +00:00
Carl Meyer
b2aa8c2692 Merged. 2011-10-26 11:12:42 -06:00
Carl Meyer
4de673ad21 Tweaked docs for get_subclass, added changelog entry. 2011-10-26 11:12:14 -06:00
Carl Meyer
4e361a20f8 Merge pull request #5 from smacker/master
get_subclass method - thanks smacker!
2011-10-26 10:09:07 -07:00
smacker
b06ba20fe9 test and docs for get_subclass 2011-10-26 23:06:55 +06:00
smacker
9ac5877d29 add get_subclass method 2011-10-26 12:01:37 +06:00
Jeff Elmore
37e4eecace Added explicit test of using 'get' method with select_subclasses
--HG--
extra : transplant_source : %9F%EA%C6%81%1D%BE%AA%0BQ5%A7%ECs%0Dwb%B8%B15%60
2011-07-02 11:58:14 -04:00
Carl Meyer
a5186212b2 Bumped version for dev. 2011-06-16 16:32:24 -05:00
Carl Meyer
fef344712a Added tag 1.0.0 for changeset bd164041e5fa 2011-06-16 16:31:58 -05:00
Carl Meyer
9f46f5dafb Bumped version for release. 2011-06-16 16:22:56 -05:00
Carl Meyer
8c6c1cf8ba Oh, look what year it is. 2011-05-29 12:15:35 -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
fbeafea062 Added south to tox config so south-freezing tests run. 2011-04-28 19:56:59 -05:00
Carl Meyer
02ba36f2dd Updated .hgignore and .gitignore 2011-04-28 17:15:33 -05:00
Carl Meyer
5c5abdce23 Added use_for_related_fields=True to InheritanceManager. Fixes #8. Thanks munhitsu for the report.
Note that the tests added for this feature pass even without the change to
InheritanceManager, because use_for_related_fields is broken in Django and
always acts as if True for reverse FKs and M2Ms.
(http://code.djangoproject.com/ticket/14891)
2011-04-16 16:19:55 -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
c514c68676 Updated test-runner. 2011-04-16 14:49:33 -05:00
Carl Meyer
d1749718f8 Added tests_require. 2011-04-16 14:06:32 -05:00
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