On 11/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am new to django and right now i trie to make a choice between ruby
> on rails and django. with rails i found a sort of shortcomming (at
> least for me it is) in the active record system.
> It seems to me that there is no nice way of joing tables multiple
> levels deep.

Assuming I've understood this correctly...

The built-in auth application already has a users/groups system, so
you've got that out of the box. The only thing then would be to set up
a Customer model and give it a many-to-many relation to Group.
Django's ORM will automatically map attributes onto all the classes so
you can access them with ease (e.g., User has a many-to-many relation
to Group, so given a User you can access its 'group_set' attribute to

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

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