Im very new to this so please forgive if this is an obvious question:

How do you describe these relationships in a model in Django:

1)
UserProfile extends User. UserProfile has_a Address. Event has_a  
Address.

Where Address has a common data-structure shared by Event and  
UserProfile, but each instance of Address would be unique to it's  
parent.

2)
Event can_have_many Tag. Blog can_have_many Tag. Story can_have_many  
Tags. Product can_have_many Tag.

Where Tag is a common data-structure that could be used to create a  
taxonomy of the different models allowing you to group them by their  
common Tag(s).



Thanks in advance you lovely people :)


Ben

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

Reply via email to