--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4f1c37bd-0f91-4708-aa40-e1dd0db44e09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
short - use a viewfollow the tutorial, yes you will learn how to store and retrieve values from a database, and I understand that you don't need that yet but the tutorial is very brief, you won't waste your time with advanced topics you don't need
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFkDaoQ0MOT57JCKfTjxWn6CkypeP2POm%3DF90Vn%3DF88dYDDQdg%40mail.gmail.com.
Does part 3 of the tutorial cover how to make a form, get the values without storing them in a database, perform the arithmetic and then display the result? I didn't see that in there.
You don't actually need python or django to get form input and do something with the input.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0fb52afc-17ec-4301-add2-85fc962f73b4%40googlegroups.com.
Maybe another way to reply to your question is to break down how it would work normally.
There are two sides of this question - the server side and the client side.
In general client side stuff is done in javascript.
Server side requests are done in python.
So you have to decide where you want this to happen. If you chose the server side realize that a round trip has to occur. This can be done and was done often but not normally used when dealing with direct user input (javascript is used) on the client side (in the browser). You can in fact create a button that retrieves the data (executes a view function) and then returns a new view. But that is very old school and normally not used. You might want to look at how the django forms works under the hood and use similar code.
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/GjgA-U6-CQc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/550C69C3.2030605%40jfcomputer.com.
For more options, visit https://groups.google.com/d/optout.