On 9 Sty, 01:23, datta <dattatrey...@gmail.com> wrote:
> I am using Django for a scientific applicaition. If I have to
> transport a vector/array 'to' a form, dismantle it and display the
> relevant information, it is easy. But how I capture vectors/array
> datatypes 'from' the HTML forms (submitted by the user) in the
> view.class and work with them.
>
> i.e., i am asking if there is a efficient way of handling 'array' data
> types in forms (other than using a single variable name in the (html)
> form and doing a get_all from the (parent) request object)
>

I'm not sure what you are asking for, but request.POST['vector']
contains
list or tuple of values gathered from vector=1&vector=2&(etc...) POST
data.

--
Tomasz Zielinski
http://pyconsultant.eu
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to