我尝试安装最新的django
和最新的sqlite
,但该错误未解决
错误:
OperationalError at /admin/products/product/add/
no such table: main.auth_user__old
Request Method: POST
Request URL: http://127.0.0.1:8000/admin/products/product/add/
Django Version: 2.1
Exception Type: OperationalError
Exception Value:
no such table: main.auth_user__old
Exception Location: C:\Users\bhand\PycharmProjects\website\venv\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 296
Python Executable: C:\Users\bhand\PycharmProjects\website\venv\Scripts\python.exe
Python Version: 3.7.4
Python Path:
['C:\\Users\\bhand\\PycharmProjects\\website',
'C:\\Users\\bhand\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
'C:\\Users\\bhand\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
'C:\\Users\\bhand\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
'C:\\Users\\bhand\\AppData\\Local\\Programs\\Python\\Python37-32',
'C:\\Users\\bhand\\PycharmProjects\\website\\venv',
'C:\\Users\\bhand\\PycharmProjects\\website\\venv\\lib\\site-packages',
'C:\\Users\\bhand\\PycharmProjects\\website\\venv\\lib\\site-packages\\setuptools-40.8.0-py3.7.egg',
'C:\\Users\\bhand\\PycharmProjects\\website\\venv\\lib\\site-packages\\pip-19.0.3-py3.7.egg']
Server time: Fri, 8 Nov 2019 12:17:12 +0000