Django: Handling several page parameters

I have several possible parameter to process in a page. Assume x0, x1, x2,…, x1000. It seems awkward to get and process them one by one by request.GET.get(‘x0’), request.GET.get(‘x1’), …

Any idea to put them in a list, so that they can be processed in a loop.


Source: python

Leave a Reply