title: How to keep 2 fields using django forms
body: <p>As django forms run a loop for the fields</p>
  <pre><code>                {% for field in form %}
                      &lt;div class=&quot;col-6&quot;&gt;
                          {{ field.errors }}
                          {{ field.label_tag }}
                          {{ field }}
                      &lt;/div&gt;
                  {% endfor %}
  </code></pre>
  <p>I actually want to have 2 fields, I found a cheap solution to this issue using Bootstrap4
  I created the columns by using <strong>col-6</strong> by which I get 2 fields in the row. But what if I want to make custom designs of forms in django ?</p>
  <p><a href="https://i.stack.imgur.com/6hqS2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6hqS2.jpg" alt="Like I have this sample from UI team" /></a></p>