On 12/14/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
> I don't think class META needs to get involved at all.
>
> This seems much cleaner ( and avoids random things like "manager = "):
>
>
> class Person(models.Model):
>     first_name = models.CharField(maxlength=30)
>     last_name = models.CharField(maxlength=30)
>     objects = models.TextField()
>
>     more_objects = Manager()

I like this better because it's less verbose. The one sketchy thing
about it is that it's the first case of a model attribute being
something other than a Field subclass. But I guess that's OK.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to