On 5/21/07, Sebastjan Trepca <[EMAIL PROTECTED]> wrote:
> I just started to use generic relations and I was wondering why are the
> default field names "object_id" and "content_type" and not "object_id" and
> "object_type"?
> Seems better that way and more logical ... or is it?

I would guess that the "content_type" field is given that name because
it's a foreign key to the ContentType model in
django.contrib.contenttypes.

-- 
"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
-~----------~----~----~----~------~----~------~--~---

Reply via email to