Hello all!

I have some logic problem.... I really don't understand how make model
for this task:

I have registered users (i want to use User class).
Each registered user can create project (or group or blog) where he
can invite another users
So, how it's better to do model ?



#############################################

from django.cotrib.auth.models import User

class Project_or_Group_or_Blog(models.Model):
        creator = models.ForeignKey(User)           # many users for
one project. How it's will be written in table ?
        other_invited = models. ????????? (User) # Here should be many
ids: first_id, second_id etc.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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