Changes between Initial Version and Version 1 of Ticket #11737
- Timestamp:
- Aug 18, 2009, 1:25:23 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11737 – Description
initial v1 4 4 5 5 the sample code does not work: 6 6 {{{ 7 7 >>> from django.db import models 8 8 >>> class Person(models.Model): 9 9 ... name = models.CharField(max_length=20) 10 10 ... friends = models.ManyToManyField('self') 11 ... idols = models.ManyToManyField('self', symmetrical=False, related_name= 12 'stalkers') 11 ... idols = models.ManyToManyField('self', symmetrical=False, related_name='stalkers') 13 12 ... def __unicode__(self): 14 13 ... return self.name … … 20 19 IndexError: list index out of range 21 20 >>> 21 }}}