title: How to show choice field in template form
body: <p>I want to show the Django choice field from Model on the HTML template like in the following picture. I can't see anything after doing this code.</p>
  <p><strong>models.py</strong></p>
  <pre><code>class Author(models.Model):
      TITLE_CHOICES = [
          ('MR', 'Mr.'),
          ('MRS', 'Mrs.'),
          ('MS', 'Ms.'),
      ]
      
      title = models.CharField(max_length=3, choices=TITLE_CHOICES)
      
  
      
  </code></pre>
  <p><strong>views.py</strong></p>
  <pre><code>def AuthorView(request):
      form = Author(request.POST or None)
      title = Author.objects.all()
  
      context = {
          &quot;form&quot;: form,
          &quot;ttile&quot;: title,
      }
      if form.is_valid():
          form.save()
  
          return render(request, 'index.html')
  
      return render(request, 'index.html', context)
  </code></pre>
  <p><strong>index.html</strong></p>
  <pre><code>   &lt;select name=&quot;confirm_type&quot; id=&quot;confirm_type&quot;&gt;
          {% for object in ttile %}
  
              &lt;option value=&quot;by_email&quot;&gt; {{ object }} &lt;/option&gt;
          {% endfor %}
     &lt;/select&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Yhwf9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yhwf9.png" alt="I want to show like this picture. " /></a></p>