#35056: admin.E013 on ManyToManyField with related_name crashes.
---------------------------------+------------------------------------
     Reporter:  Thomas Feldmann  |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  contrib.admin    |                  Version:  5.0
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by Hrushikesh Vaidya):

 Could this be fixed with a simple `hasattr(field.remote_field, 'through')`
 check before accessing `through`?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35056#comment:5>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c96a2b053-38fe070a-c3c1-461f-ae36-f1758043f267-000000%40eu-central-1.amazonses.com.

Reply via email to