OperationalError at /admin/products/product/add/no such table:
main.auth_user__oldRequest Method:
POSTRequest URL:
http://127.0.0.1:8000/admin/products/product/add/Django Version:
2.0.7Exception Type:
OperationalErrorException Value:
no such table: main.auth_user__oldException Location:
Please help me I am stuck.
PYTHON CODE
t=int(input())
tc=0
while t>0:
n,k=map(int,input().split())
lst=[int(i) for i in input().split()]
answer_counter=0
decreasing_counter=0
for i in range(n):
if lst[i]==lst[i-1]-1:
decreasing_counter+=1
else: