Multiple values in __init__

i am getting this error TypeError: __init__() got multiple values for argument 'id_name'

  • at Courses, line 26
  • called from CourseItem, line 24
    help me in anyone

Hello and welcome!

We’ve moved this to the “Q and A” section.

I’ve edited the subject line to be a bit clearer but I think more details would be useful for us to help.

Here is a guide to asking a great question.

if you edited that can you tell me how can i resolve that error

There is not enough information in your original post for anyone to help you. You need to show the code that is at line 24 in CourseItem, along with the code around line 26 in Courses, and possible other code, too. @campopianoa linked to a guide on asking good questions, please read that so you can provide the information other people need to be able to help you.

2 Likes