Ticket #9914: manytomany-typo.diff

File manytomany-typo.diff, 510 bytes (added by timo, 6 years ago)
  • docs/topics/db/models.txt

     
    866866name will end up being different. For example::
    867867
    868868    class Base(models.Model):
    869         m2m = models.ManyToMany(OtherModel, related_name="%(class)s_related")
     869        m2m = models.ManyToManyField(OtherModel, related_name="%(class)s_related")
    870870
    871871        class Meta:
    872872            abstract = True
Back to Top