Re: Unable to add two Numbers

2010-08-30 Thread Harbhag Singh Sohal
On Mon, Aug 30, 2010 at 10:14 AM, Kenneth Gonsalves wrote: > On Mon, 2010-08-30 at 10:06 +0530, Harbhag Singh Sohal wrote: > > I have read tutorial / documentation > > no use reading it - please do the tutorial step by step until you make a > complete web application as shown

Re: Unable to add two Numbers

2010-08-29 Thread Kenneth Gonsalves
On Mon, 2010-08-30 at 10:06 +0530, Harbhag Singh Sohal wrote: > I have read tutorial / documentation no use reading it - please do the tutorial step by step until you make a complete web application as shown in the tutorial. Then you will be able to understand how to add the numbers. -- regards

Re: Unable to add two Numbers

2010-08-29 Thread Harbhag Singh Sohal
sir, i am very new in django? so, please sir help. tell me, how to code Views.py file to solve my problem. I am confused. I have read tutorial / documentation at _, but could not get a bare minimum example to code Views.py, if there is any, kindly help me by posting link. I just

Re: Unable to add two Numbers

2010-08-29 Thread Harbhag Singh Sohal
On Mon, Aug 30, 2010 at 7:21 AM, Kenneth Gonsalves wrote: > On Sun, 2010-08-29 at 22:50 +0530, Harbhag Singh Sohal wrote: > > me try use request.POST function to get the value, but me also fail to > > get the form values. > > > > Please suggest me how i get the value from form

Re: Unable to add two Numbers

2010-08-29 Thread Kenneth Gonsalves
On Sun, 2010-08-29 at 22:50 +0530, Harbhag Singh Sohal wrote: > me try use request.POST function to get the value, but me also fail to > get the form values. > > Please suggest me how i get the value from form text fields and store > in database. please post your code -- regards Kenneth

Re: Unable to add two Numbers

2010-08-29 Thread Daniel Roseman
> I have written the code > model.py > from django.db import models > > class Math(models.Model): >    input1 = models.IntegerField() >    input2 = models.IntegerField() >    output = models.IntegerField() > > Views.py file > > from django.template import RequestContext > from django.shortcuts

Re: Unable to add two Numbers

2010-08-29 Thread Harbhag Singh Sohal
On Sun, Aug 29, 2010 at 11:22 PM, Harbhag Singh Sohal < harbhag.so...@gmail.com> wrote: > > > On Sun, Aug 29, 2010 at 10:56 PM, Steve Holden wrote: > >> On 8/29/2010 1:20 PM, Harbhag Singh Sohal wrote: >> > i am the new user of Django, i try the tutorials of django wesite >>

Re: Unable to add two Numbers

2010-08-29 Thread Harbhag Singh Sohal
On Sun, Aug 29, 2010 at 10:56 PM, Steve Holden wrote: > On 8/29/2010 1:20 PM, Harbhag Singh Sohal wrote: > > i am the new user of Django, i try the tutorials of django wesite > > http://docs.djangoproject.com/en/1.2/intro/tutorial01/ > > > > > > > > Now i create a

Re: Unable to add two Numbers

2010-08-29 Thread Steve Holden
On 8/29/2010 1:20 PM, Harbhag Singh Sohal wrote: > i am the new user of Django, i try the tutorials of django wesite > http://docs.djangoproject.com/en/1.2/intro/tutorial01/ > > > > Now i create a application in django to add two numbers, After filling form. > and store the values of two

Unable to add two Numbers

2010-08-29 Thread Harbhag Singh Sohal
i am the new user of Django, i try the tutorials of django wesite http://docs.djangoproject.com/en/1.2/intro/tutorial01/ Now i create a application in django to add two numbers, After filling form. and store the values of two inputs and output after add two numbers in databases. me able to