django-polymodels
django-polymodels copied to clipboard
Abstract polymorphic type definition to allow non-contenttype scenarios
One should be able to define the type of an object based on another kind of field.
For example:
- The first two characters of a string primary key might identify the type of the object;
- An additional field (say
tableoidin the case of PostgreSQL inheritance) could identify the type of the object.
It's only missing tests and docs at this point.