#34513: Error E108 does not cover some cases
-------------------------------+-----------------------------------------
     Reporter:  Baha Sdtbekov  |                    Owner:  Baha Sdtbekov
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  4.2
     Severity:  Normal         |               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 Mariusz Felisiak):

 Replying to [comment:8 Baha Sdtbekov]:
 > I checked most of the fields and found these fields that are not working
 correctly
 >
 > {{{
 > class QuestionAdmin(admin.ModelAdmin):
 >     list_display = ["choice", "choice_set", "somem2m",
 "SomeM2M_question+", "somem2m_set", "__module__", "__doc__", "objects"]
 > }}}
 >
 > Also for reproduce see [https://github.com/Bakdolot/django_34513/
 github]

 System checks are helpers that in this case should highlight potentially
 reasonable but unsupported options. IMO they don't have to catch all
 obviously wrong values that you can find in `__dir__`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34513#comment:9>
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/01070187ba11af2c-1eb395b8-8adc-4e9f-b7a8-bd56ac0fa310-000000%40eu-central-1.amazonses.com.

Reply via email to