; Michael
>
> > -Original Message-
> > From: django-users@googlegroups.com [mailto:
> [EMAIL PROTECTED]
> > On Behalf Of Ernesto Rodriguez Reina
> > Sent: Friday, August 24, 2007 7:38 PM
> > To: Django users
> > Subject: modeling db inheritance
> >
sto Rodriguez Reina
> Sent: Friday, August 24, 2007 7:38 PM
> To: Django users
> Subject: modeling db inheritance
>
>
> Hello,
> I'm need to model a table inheritance in a new project i'm working on, but
> i
> don't know the best way to do it.
>
>
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
Hello,
I'm need to model a table inheritance in a new project i'm working on, but i
don't know the best way to do it.
Here is an explample of what i need:
class User(models.Model):
firstname = models.CharField(maxlength=100)
lastname = models.CharField(maxlength=100)
# This s
4 matches
Mail list logo