Changes between Initial Version and Version 2 of Ticket #28309


Ignore:
Timestamp:
Jun 15, 2017, 12:39:32 PM (7 years ago)
Author:
Tim Graham
Comment:

I've edited the ticket description as I think you meant, please correct it if needed. If the unexpected output in the migration is related_name='_model1_children_+', that's coming from ManyToManyField.contribute_to_class(). I'm uncertain if this is a bug. Can you please clarify?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28309 – Description

    initial v2  
    44{{{
    55class Model1(models.Model):
    6     children = models.ManyToManyField('self', blank=True, related_name='parents')
     6    children = models.ManyToManyField('self', blank=True)
    77
    88class Model2(models.Model):
Back to Top