#24146: (admin.E116) The value of 'list_filter[0]' refers to 'through__field', which does not refer to a Field. ---------------------------------+-------------------- Reporter: collinanderson | Owner: nobody Type: Bug | Status: new Component: contrib.admin | Version: master Severity: Release blocker | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+-------------------- {{{ class PersonAdmin(admin.ModelAdmin): list_filter = ['studenthousehold__primary']
class Student(models.Model): name = models.CharField(max_length=255) class Household(models.Model): students = models.ManyToManyField(Student, through='StudentHousehold') class StudentHousehold(models.Model): household = models.ForeignKey(Household) student = models.ForeignKey(Student) primary = models.BooleanField(default=False) }}} Works fine on 1.7, but on 1.8: {{{ ./manage.py check SystemCheckError: System check identified some issues: ERRORS: <class 'app.admin.PersonAdmin'>: (admin.E116) The value of 'list_filter[0]' refers to 'studenthousehold__primary', which does not refer to a Field. System check identified 1 issue (0 silenced). }}} -- Ticket URL: <https://code.djangoproject.com/ticket/24146> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/057.58ee0b099994f64282bc0ac7cc630016%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.