Someting like

def myview(request):
    dev = mymathfunc(request. POST.get_list('mi_input', []))

    return render(request, 'mytemplate.HTML', {'result': dev})


I am not sure if get_list it is a valid function, I know there is one that
do the same, but can't remember how is called.

If you can give us an example maybe a better answer we will give you

El miércoles, 10 de febrero de 2016, Xristos Xristoou <saxr...@gmail.com>
escribió:
> yes i want this and work with python list for input and output
>
> Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos
Xristoou έγραψε:
>>
>> hello,
>>
>> i create some python mathematical function on python idle,
>> i want to create website where the user import value numbers on the
function
>> and take the results from that.
>> question one,how to connect my mathematical function on the django?
>> question two,how to connect input and output from the scipts in the
website ?
>> the second question i ask because input and output from the function is
a dynamic define from the user
>>
>>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/b933ec93-1d35-466e-86c7-b5cafde824d2%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyMqjW2S0vPHEcsDQikmRrOJ3Vt%2BnPjH2%3D5hHfmHcemmhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to