Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support single-table inheritance when no fields are defined on subclasses #16

Open
craigds opened this issue Mar 6, 2011 · 2 comments

Comments

@craigds
Copy link

craigds commented Mar 6, 2011

The idea is kind of like proxy models (and could be implemented as variation on proxy models I think.)

I explained this in this thread on django-developers

Joins are bad, so it seems logical to support this kind of thing.

I've come across a number of places where I've had to add if self.type == self.TYPE_FOO) logic to methods; it makes sense to handle this in a more OO way.

@julkiewicz
Copy link

I think this is a really good idea! And it looks like it could be implemented fairly easily.

@Kronuz
Copy link

Kronuz commented Nov 26, 2011

I added support for this in my fork: Kronuz@e7d70a3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants