Changes between Initial Version and Version 1 of Ticket #11737


Ignore:
Timestamp:
Aug 18, 2009, 1:25:23 PM (15 years ago)
Author:
Alex Gaynor
Comment:

Please use the preview button.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11737 – Description

    initial v1  
    44
    55the sample code does not work:
    6 
     6{{{
    77>>> from django.db import models
    88>>> class Person(models.Model):
    99...     name = models.CharField(max_length=20)
    1010...     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')
    1312...     def __unicode__(self):
    1413...         return self.name
     
    2019IndexError: list index out of range
    2120>>>
     21}}}
Back to Top