IndexError: Number of args exceeds number of fields

790 views
Skip to first unread message

Ezequias Rocha

unread,
Jun 19, 2019, 8:16:51 AM6/19/19
to Django users
Hi everyone

I am doing a modeling of my database on DJANGO and after almost 10 tables I did another model configuration and after making my admin.site.register(baseclass, basecalassAdmin) I got the following error message:

IndexError: Number of args exceeds number of fields

Could anyone tell me what could be wrong with that?

I am using Python 3.7.2 and Django 1.11

Regards.

Simon Charette

unread,
Jun 19, 2019, 9:50:47 AM6/19/19
to Django users
It's hard to tell without the full traceback but Django 1.11 doesn't support Python 3.7 so it'd
start by either using Django 2.2 or downgrading to Python 3.6

Cheers,
Simon

Ezequias Rocha

unread,
Jun 19, 2019, 10:00:17 AM6/19/19
to Django users
I got the answare Simon. Thank you so much for your attention.

I did a mistake on my MyClassAdmin definition.

Best regards
Ezequias
Reply all
Reply to author
Forward
0 new messages