Re: table bank_app_bank has no column named DOB

2023-08-25 Thread Steven maithya
is is my views.py page. > On Tuesday, August 22, 2023 at 12:49:39 AM UTC+5:30 Mike Simkins wrote: > >> Did you regenerate and rerun the migrations ?? >> >> >> python manage.py makemigrations >> python manage.py migrate >> >> >> >> On 21 Aug 20

Re: table bank_app_bank has no column named DOB

2023-08-24 Thread meenu loranz
t; > 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 bank_app_bank has no c

Re: table bank_app_bank has no column named DOB

2023-08-23 Thread Kani Sbt
ug 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 bank_app_bank has no column named dob >> Request Method: >> POST >> Request URL:

Re: table bank_app_bank has no column named DOB

2023-08-22 Thread meenu loranz
grations > 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 bank_app_bank has no column named dob > Request Method:

Re: table bank_app_bank has no column named DOB

2023-08-21 Thread Mike Simkins
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: > table bank_app_bank has no column named dob > Exception Lo

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

Re: table bank_app_bank has no column named DOB

2023-08-19 Thread RANGA BHARATH JINKA
Hi, Try changing DOB to small letters dob and run the migrations again. All the best 👍 Thanks and Regards J. Ranga Bharath Cell: 9110334114 On Sat, 19 Aug 2023, 9:18 pm ivan harold, wrote: > > https://stackoverflow.com/questions/68269165/why-django-is-not-detecting-my-table-column > > Try r

Re: table bank_app_bank has no column named DOB

2023-08-19 Thread ivan harold
https://stackoverflow.com/questions/68269165/why-django-is-not-detecting-my-table-column Try reading this article, it may help you. On Saturday, August 19, 2023 at 3:05:57 AM UTC+8 meenu loranz wrote: > from django.contrib.auth.models import User > from django.db import models > from django.urls

Re: table bank_app_bank has no column named DOB

2023-08-19 Thread Joe Reitman
You can not use all caps as a field name. Some other restrictions are: - A field name cannot be a Python reserved word. - A field name cannot contain more than one underscore in a row. - A field name cannot start with an underscore. On Friday, August 18, 2023 at 2:05:57 PM UTC-5 meenu

table bank_app_bank has no column named DOB

2023-08-18 Thread meenu loranz
from django.contrib.auth.models import User from django.db import models from django.urls import reverse # Create your models here. class bank(models.Model): name = models.CharField(max_length=255) DOB = models.DateField() age = models.IntegerField() gender = models.CharField(max_length=10) phone_