Re: table bank_app_bank has no column named DOB

2023-08-21 Thread Mike Simkins
Did you regenerate and rerun the migrations ?? python manage.py makemigrations python manage.py migrate > On 21 Aug 2023, at 09:46, meenu loranz wrote: > > Thank you for your response...i changed DOB to dob...but still showing me the > error... > OperationalError at /add/ table

Unable to display records in form

2023-08-21 Thread GLOBAL ENGINEERING ACADEMY
Hai, I am trying to learn django on my own. I have created a small project of a shop. I am able to insert items but when i try to fetch items for updating / deleting, the form is not populated . only the primary key is shown. def updatedeleteitem(request): item=None

Re: table bank_app_bank has no column named DOB

2023-08-21 Thread meenu loranz
Thank you for your response...i changed DOB to dob...but still showing me the error... OperationalError at /add/ table bank_app_bank has no column named dob Request Method: POST Request URL: http://127.0.0.1:8000/add/ Django Version: 4.2 Exception Type: OperationalError Exception Value: