#25206: Incorrect error message when checking modeladmin fieldsets -------------------------------+-------------------- Reporter: alasdairnicol | Owner: nobody Type: Uncategorized | Status: new Component: contrib.admin | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------- Arising from [http://stackoverflow.com/questions/31765584/django-admin- error-admin-e008-the-value-of-fieldsets-must-be-a-list-or- tuple/31765888#31765888this Stack Overflow question]
The checks framework is showing the error message: {{{ SystemCheckError: System check identified some issues: ERRORS: : (admin.E008) The value of 'fieldsets[1]['fields']' must be a list or tuple. }}} It only has one index instead of two, in this case it should be `fieldsets[3][1]['fields']`. The problem is that `'fieldsets[1]'` is hardcoded, instead of using the label that describes the current fieldset. -- Ticket URL: <https://code.djangoproject.com/ticket/25206> 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/056.613248a32631a0a229efb04ef08e9560%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.