django radio buttons in forms <p>I have a form in Django with radio buttons that have various properties for users. When an admin user (in my application...not the django admin) wants to edit properties for different users, the same form objects should appear for all users in a list. So say there is a list of possible permissions for users, I have a table with the list of users, and the user permissions options (radio buttons) should appear next to them. In the form I have a radio button choice field with all available permissions. But in the view, how do I get it to appear for each user? Also, how do I set initial data when there're are many of the same form object? Is there an example of this somewhere? Thanks!</p> <p><strong>[EDIT]</strong></p> <p>Below is basically what I am trying to show:</p> <pre><code> &lt;table class="admin_table"&gt; &lt;tr&gt; &lt;th&gt;Firstname&lt;/th&gt; &lt;th&gt;Lastname&lt;/th&gt; &lt;th&gt;User Permission&lt;/th&gt; &lt;/tr&gt; {% if users|length &gt; 0 %} {% for user in users %} &lt;tr&gt; &lt;td&gt;{{ user.first_name }}&lt;/td&gt; &lt;td&gt;{{ user.last_name }}&lt;/td&gt; &lt;td&gt;[RADIO BUTTONS]&lt;/td&gt; &lt;/tr&gt; {% endfor %} {% endif %} &lt;/table&gt; </code></pre> <p>The place where I wrote <code>[RADIO BUTTONS]</code>, is where I woud like to show multiple radio buttons which should appear for each <em>user</em>, not for the whole form.</p> <p>Also, I'm looking at this site: <a href="http://jacobian.org/writing/dynamic-form-generation/" rel="nofollow">http://jacobian.org/writing/dynamic-form-generation/</a>. Not sure if that's the solution, but the problem the author is trying to solve is very interesting anyway.</p>