> {% for a in pad %}
> <tr>
> <td>
> <select name="{{ a.id }}">
I would suggest adding a prefix to that name:
<select name="pad-{{ a.id }}">
This way, when you are looping through your request.POST dictionary
keys, you can skip keys that don't start with "pad-" that will prevent
your loop from breaking if you get unexpected keys in the form post.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---