Changeset 2245
- Timestamp:
- 02/03/06 14:29:45 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/magic-removal/tests/modeltests/m2o_recursive2/models.py
r2195 r2245 12 12 class Person(models.Model): 13 13 full_name = models.CharField(maxlength=20) 14 mother = models.ForeignKey('self', null=True, related_name='mothers_child ')15 father = models.ForeignKey('self', null=True, related_name='fathers_child ')14 mother = models.ForeignKey('self', null=True, related_name='mothers_child_set') 15 father = models.ForeignKey('self', null=True, related_name='fathers_child_set') 16 16 17 17 def __repr__(self):
