Python Django Tutorial - Add Two Numbers App -Django | Full Code Solution | Muo Sigma Classes

preview_player
Показать описание
In this video I will create small website with two input fields and one submit button so that you can two numbers.
to understand the concept please watch the video till the end.

Django Framework For Beginners in Hindi

django framework tutorial
django framework python
django framework tutorial for beginners
django framework in hindi
django framework python tutorial
django framework class 12
django framework by progrank
django framework for beginners
django framework download
django framework download for windows 10
django framework example
django framework example project
django framework website example
django framework for python
django framework free download for windows 10
django framework for python tutorial
django framework getting started
python with django framework in hindi
django framework in python
Рекомендации по теме
Комментарии
Автор

Thank you so much my friend. It helped me a lot.

juanmitilo
Автор

heyy.. make more videos pls .. ur explation i love

priyankavaidya
Автор

can u make a simple live project using django

priyankavaidya
Автор

Superb, but i want result without submit button and while typing num1 result automatically show

asgeralia
Автор

Sir how to do like all opration sub, div

nashas
Автор

Really bro i understand this video very well 😇

raghavaraghu
Автор

1)in the form set action=# and method as post
2)in the view function
If request.method =="POST":
n1=int(request.POST['n1']
n2=int(request.POST['n2']
Sum=n1+n2
Return render(request, 'result.html', {'sum':sum)})

ujwalc
Автор

How can we display results on the same page under the submit button, without going to the next page?

adityaarya
Автор

every time i click on submit i get error like
MultiValueDictKeyError at /add

'num1'

Request Method: GET

Request URL: @t
Django Version: 3.2.4

Exception Type: MultiValueDictKeyError

Exception Value:

'num1'
how can i solve this
val1= int(request.GET['num1']) it always show error in this line although i have written same code

diwasbasyal