django.db.utils.OperationalError: table "polls_question" already exists

57 views
Skip to first unread message

Pratik P Deshpande

unread,
Mar 6, 2022, 11:38:19 AM3/6/22
to Django users
Hi There,

While creating tables using models.py getting this error, However i have tried to delete table but its falling any one know any solution ?

Error - File "/usr/local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 421, in execute return Database.Cursor.execute(self, query) django.db.utils.OperationalError: table "polls_question" already exists


Capture7.PNG

Pratik P Deshpande

unread,
Mar 6, 2022, 11:38:19 AM3/6/22
to Django users
Hi All, I Am Getting Error I Have Attached The Image, 

Kindly Provide Solution If Any One Having

Thanks,
Pratik
Capture7.PNG
Reply all
Reply to author
Forward
0 new messages