Re: How does Django handle Model Inheritance?

2007-04-17 Thread Raphael Melo de Oliveira Bastos Sales

On 4/17/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 4/17/07, Raphael Melo de Oliveira Bastos Sales
> <[EMAIL PROTECTED]> wrote:
> > I'm a newcomer to this list, so be patient if this is a dumb
> > question. I'd like to know how does DJango handle Model Inheritance.
>
> Model inheritance is not currently supported in Django. It will be at
> some as-yet-uncertain point in the future, but for the moment it is
> not supported.
>

Thanks for the response, James.

Humm, note to self, possible Summer of Code project :P

Regards.

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



Re: How does Django handle Model Inheritance?

2007-04-17 Thread James Bennett

On 4/17/07, Raphael Melo de Oliveira Bastos Sales
<[EMAIL PROTECTED]> wrote:
> I'm a newcomer to this list, so be patient if this is a dumb
> question. I'd like to know how does DJango handle Model Inheritance.

Model inheritance is not currently supported in Django. It will be at
some as-yet-uncertain point in the future, but for the moment it is
not supported.

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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



How does Django handle Model Inheritance?

2007-04-17 Thread Raphael Melo de Oliveira Bastos Sales

Hi everyone,

I'm a newcomer to this list, so be patient if this is a dumb
question. I'd like to know how does DJango handle Model Inheritance.

For example, if I do something like this and use PostgreSQL:

class BaseModel( models.Model ):
base_attribute = models.CharField()

class ChildModel( BaseModel ):
child_attribute = models.CharField()

does it create two completely separate tables or does it use
Postgre's Table Inheritance feature?

Regards,

Raphael

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