django-polymodels icon indicating copy to clipboard operation
django-polymodels copied to clipboard

Abstract polymorphic type definition to allow non-contenttype scenarios

Open charettes opened this issue 12 years ago • 1 comments

One should be able to define the type of an object based on another kind of field.

For example:

  1. The first two characters of a string primary key might identify the type of the object;
  2. An additional field (say tableoid in the case of PostgreSQL inheritance) could identify the type of the object.

charettes avatar Jan 17 '14 03:01 charettes

It's only missing tests and docs at this point.

charettes avatar Jan 22 '16 19:01 charettes