#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  |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by collinanderson):

 The actual underlying exception is:
 {{{
   File "django/contrib/admin/checks.py", line 715, in
 _check_list_filter_item
     get_fields_from_path(model, field)
   File "django/contrib/admin/utils.py", line 473, in get_fields_from_path
     fields.append(parent._meta.get_field(piece))
   File "django/db/models/options.py", line 540, in get_field
     "be available yet." % (self.object_name, field_name)
 django.core.exceptions.FieldDoesNotExist: Household has no field named
 'studenthousehold'. The app cache isn't ready yet, so if this is a forward
 field, it won't be available yet.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24146#comment:2>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.3b2965a7f66e6e760509dbdbcdb9f4f9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to