On Mon, Apr 20, 2009 at 15:42, KLEIN Stéphane <[email protected]> wrote:

> what do you think about "abstract" entity option like Abstract base
> classes feature in Django ORM (http://docs.djangoproject.com/en/dev/
> topics/db/models/#id6) ?
>
> I need this feature, if you think it is useful feature, I going to
> work on.

You can already have a similar behavior by using a custom base class:
http://elixir.ematia.de/trac/browser/elixir/trunk/tests/test_custombase.py#L81

The only shortcoming I know of for this approach is that you can't
have an abstract entity which inherits from a non-abstract one, but I
don't think this is very useful in practice.

-- 
Gaëtan de Menten
http://openhex.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to