Re: modeling db inheritance

2007-08-27 Thread Lic. José M. Rodriguez Bacallao
could you please be more specific? On 8/25/07, Michael Elsdoerfer <[EMAIL PROTECTED]> wrote: > > > I needed a very similar thing and I ultimately decided to use a "type" > char > field in the base model that would contain the model name of the subtype. > > Michael > > > -Original Message-

RE: modeling db inheritance

2007-08-24 Thread Michael Elsdoerfer
I needed a very similar thing and I ultimately decided to use a "type" char field in the base model that would contain the model name of the subtype. Michael > -Original Message- > From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of Ernesto Rodriguez Reina > Sent

Re: modeling db inheritance

2007-08-24 Thread Lic. José M. Rodriguez Bacallao
Primero, en django.contrib.auth.models esta definido un modelo User que tiene los datos que necesitas, para eso, debes poner en INSTALLED_APP en tu settings.py la sgte app: django.contrib.auth tu models.py o como se llame debera quedar asi: from django.db import models from django.contrib.auth.mo