Re: How to handle person to person relationships

2006-08-30 Thread Mir Nazim
I know that but my problem is that it is still undocumented. I am an absolute newbie in case of django and web development in python. Though I have used python for quite some time. CAn you provide some link that documents content-type system. On 8/30/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: >

Re: How to handle person to person relationships

2006-08-30 Thread Jeremy Dunck
On 8/30/06, Mir Nazim <[EMAIL PROTECTED]> wrote: > Now comes another problem, I have read generic relationships document > at django site. but can anyone point me to some urls where thing like > content-type etc(that are need for generic relationship to work) > described in detail. The solution de

Re: How to handle person to person relationships

2006-08-30 Thread Mir Nazim
Jeremy Dunck wrote: > On 8/29/06, Mir Nazim <[EMAIL PROTECTED]> wrote: > > > > I have already gone through that. but problem is that I need to add > > some attributes to relationships like > > > > he is my best friend > > i have not met him > > > > something like orkut. > > If you're going to att

Re: How to handle person to person relationships

2006-08-29 Thread Jeremy Dunck
On 8/29/06, Mir Nazim <[EMAIL PROTECTED]> wrote: > > I have already gone through that. but problem is that I need to add > some attributes to relationships like > > he is my best friend > i have not met him > > something like orkut. If you're going to attach view and template behavior based on th

Re: How to handle person to person relationships

2006-08-29 Thread Mir Nazim
I have already gone through that. but problem is that I need to add some attributes to relationships like he is my best friend i have not met him something like orkut. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: How to handle person to person relationships

2006-08-29 Thread Reinhard Knobelspies
http://www.djangoproject.com/documentation/models/m2m_recursive/ --~--~-~--~~~---~--~~ 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 unsubscrib

How to handle person to person relationships

2006-08-29 Thread Mir Nazim
How code the relationship like "a person has many friends" code so far. class Person(models.Model): full_name = models.CharField(maxlength=100) nick_name = models.CharField(maxlength=20) about = models.TextField(blank=True) sex = models.CharField(maxlength=1, choices=SEXES)