Django Admin inline for recursive ManyToMany
问题 I have the following model with a many-to-many relationship to itself class Ticket(models.Model): STATUS = ( (0, "Open"), (1, "Closed"), ) status = models.SmallIntegerField(default=0,choices=STATUS) title = models.CharField(max_length=100) replies = models.ManyToManyField('self') description = models.TextField() i am trying to display this model as an inline in the admin, using the following code class TicketReply(admin.TabularInline): model = Ticket.replies.through however i keep getting