django-model-utils/model_utils
Matthew Schinckel 02e19e45b4 Okay, now we are getting somewhere.
By itself, .instance_of(*models) will actually call select_subclasses(*models),
which results in just those objects being cast to subclasses.

However, if you want the casting to grandchildren (which is supported only in
django 1.6+), then you may use an extra call to .select_subclasses() (without
arguments, to select all subclasses).

It doesn't deal with @kezabelle's discussion of mixed-use of select_subclasses/
instance_of, I still need to look at that.

But it does pass all current tests...
2014-05-22 21:31:31 +09:30
..
tests Okay, now we are getting somewhere. 2014-05-22 21:31:31 +09:30
__init__.py Bump version to 2.0.3.post1 for dev. 2014-03-19 22:48:13 -06:00
choices.py Merge branch 'master' into fix-choices-deepcopy 2013-10-11 13:23:56 -06:00
fields.py Fix bug where you could only run makemigrations once without error. 2014-04-25 14:17:42 -07:00
managers.py Okay, now we are getting somewhere. 2014-05-22 21:31:31 +09:30
models.py Check for StatusModel field name conflicts correctly. 2014-01-06 16:03:44 -07:00
tracker.py Use a signal handler instead of patching save. 2014-05-12 14:32:59 +09:30