Re: Fwd: Delivery Status Notification (Failure)

2022-09-18 Thread Derek
I agree with previous posts. It might also be worthwhile to simplify your code to avoid unneeded variables: details=Details( name=requests.POST.get('name'), roof_age=requests.POST.get('roof_age'), email=requests.POST.get('email'), phone=r

Fwd: Delivery Status Notification (Failure)

2022-09-17 Thread Nishant Sagar
Hey folks, While saving the values to the data to the database I'm getting this Field 'roof_age' expected a number but got ('1',) How can I resolve this? Here is my views.py file def form(requests): if requests.method == 'POST': name=requests.POST['name'], # roof_age= requests.POST['roof_age'], ro

Re: Fwd: Delivery Status Notification (Failure)

2013-03-11 Thread Nick Dokos
jesmine chaudhuri wrote: > Hello, > > I am new in Python and Django. This is my first test project following the > site : > > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am using database MySQL. > > I configured in > > INSTALLED_APPS = ( >     'django.contrib.auth', >     '

Fwd: Delivery Status Notification (Failure)

2013-03-11 Thread jesmine chaudhuri
Hello, I am new in Python and Django. This is my first test project following the site : https://docs.djangoproject.com/en/1.3/intro/tutorial01/ I am using database MySQL. I configured in INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessi