hello
i use the custome sql in django shell to insert values but it ask the primary key value
p.execute(‘INSERT INTO webapp_information VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)’,i)
i is the list of values
it shows error
OperationalError: table webapp_information has 32 columns but 31 values were supplied
the table has 31 column only. But giving the primary key, works fine. how to resolve this. thankyou
[edit by admin: formatting]