On Wednesday, March 18, 2015 at 12:51:22 PM UTC-6, Avraham Serour wrote: > > short - use a view > > follow 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 >
I understand you have good intentions with your answer. I am trying not to be frustrated with it. I don't think I would call the tutorial "very brief" I have skimmed the tutorial and didn't find (notice) the answer. Why not point me to an answer to my question? Trying not to be frustrated ;) Thanks VMD > > On Wed, Mar 18, 2015 at 8:08 PM, VMD <vin...@vincentdavis.com <javascript:>> > wrote: > >> New to django and web frameworks in general. The tutorial is great for >> database type apps but I want to solve a different problem to start with >> and am kinda stuck. All I want to do is allow a user to input a value(s) >> and return the output of a python function using that value(s). Could >> someone point me to an example or guide for doing this. >> For example: >> >> Accept input X, Y >> Return the output of myadder(x,y) >> >> def myadder(x,y): >> return x+y >> >> -- >> 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 <javascript:>. >> To post to this group, send email to django...@googlegroups.com >> <javascript:>. >> 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 >> >> <https://groups.google.com/d/msgid/django-users/4f1c37bd-0f91-4708-aa40-e1dd0db44e09%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/91dfe6d9-dc90-42ae-a1e2-c680f718d125%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.