On 24 syys, 16:55, Jonathan Slenders <
jonathan.slend...@gmail.com>
wrote:
> This may be interesting to some of you. I created a small library for
> inheritance of *a set of* models.
> It's best to go quickly through the Readme on the site below.
>
> We felt a need for this, but I'm wondering whether some kind of inheritance
> like this has been discussed before. And whether, if useful, this would
> make a candidate for django.db.
>
>
https://github.com/citylive/django-model-blueprint
Looks interesting! It is nice to see how little code you needed to
implement this. Inheriting a system of models should be useful in some
special circumstances. I know I have missed that feature at least
once...
In general, we try to have stuff live outside of core as much as
possible. This feature doesn't seem to be something everybody needs,
and doing this outside of core seems to be possible already.
If this turns out to be really useful, then that might be a reason to
move this into core.
Are there things you would like to do but aren't able to because this
isn't in core? Is there something we could change in core to make
maintaining of this easier?
- Anssi