for element in liste: faire_quelque_chose_de_l(element) http://diveintopython.adrahon.org/file_handling/for_loops.html
Librement, Sébastien Cheminel http://sebastien.cheminel.com Le 13 avril 2012 09:22, sesame <[email protected]> a écrit : > bonjour > > et moi j'aimerai bien comprendre > > <td style="text-align:center"><input type="checkbox" id="theCheck1" > name="theCheck" value="1"></td> > > dans views > > liste = request.GET.getlist('theCheck') > > me renvoie si les checbox sont cochées > > [u'1', u'2'] ???? > > comment fait on pour traiter cette liste ???? > _______________________________________________ > django mailing list > [email protected] > http://lists.afpy.org/mailman/listinfo/django _______________________________________________ django mailing list [email protected] http://lists.afpy.org/mailman/listinfo/django
