Hi there,
(Copying the answer I sent you by private email so that this ends up being indexed)
I think there is no "magic casting" method, so the way I would solve this particular problem would be:
1.
to have a cast_to_auditor(basemodel) method, that copies the fields
over (using introspection it would be pretty simple, for instance).
2. There is a special field on supertype instances called
polymorphic_ctype
that holds the type of the "sub-instance". I never tried but I assume
setting it to the proper type would let polymorphic treat it as a a
subtype? This is worth a try.
Let me know how that goes :)
- Chris