Hi,
I solved it that way:
class PersonCollaboration(models.Model):
person1 = models.ForeignKey('Person', related_name='person1')
person2 = models.ForeignKey('Person', related_name='person2')
timestamp_created = models.DateTimeField(default=datetime.now)
class Person
Hi,
I'm working with Django since a few weeks and I really *love* it!
I came across a problem I didn't find any help so I thought it might
be a good idea to ask the pros.
I need to model persons and each person should have a list of other
persons (a 'collaborates-with'-property).
I have to
2 matches
Mail list logo