[Fixed]-Django Admin error admin.E008 The value of fieldsets must be a list or tuple

30👍

You are missing a trailing comma in your ‘Password Details’ fieldset. It should be:

('Password Details',{'fields' : ('password',)}),)
                                           ^
                                           | # this comma

Without the comma, ('password') is the same as 'password', which is a string, not a tuple.

Leave a comment