Django-tables2: How to use accessor to bring in foreign columns?
问题 I've tried reading the docs and previous answers to this question without much luck. I've got a bunch of student-course registrations and I'd like to see some of those selected registrations in conjunction with some of the attributes of the students. No luck so far...I'd request your advice! Here's the model: class Student(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) netID = models.CharField(max_length=8) class Registration(models