title: django don't show form
body: <p>I want to make a form with some choises and display it. But in output html I didn't see form itself. Here are my files:</p>
  
  <p>views.py:</p>
  
  <pre><code>from django.http import HttpResponse, Http404
  from django.shortcuts import render_to_response
  from tasks.todoes.models import Note, Resource,/
       File, Worker, Client, Task, ProblemByWorker, ProblemByUser, Categories
  from tasks.forms import NewTicketForm
  
  def new_ticket2(request):
      method = request.method
      if request.method == 'POST':
          form = NewTicketForm(request.POST)
          if form.is_valid():
              pass
      else:
          form = NewTicketForm()
      return render_to_response('new_ticket2.html', {'form':form, 'method':method})
  </code></pre>
  
  <p>forms.py</p>
  
  <pre><code>from django import forms
  from tasks.todoes.models import Note, Resource, File, Worker, Client, Task,/
     ProblemByWorker, ProblemByUser, Categories
  
  class NewTicketForm(forms.Form):
      name = forms.CharField(max_length=140)
      pbus = forms.ChoiceField(choices = ProblemByUser.objects.all())
      description = forms.CharField(widget=forms.Textarea)
      clients = forms.ChoiceField(choices = Client.objects.all())
      priority = forms.ChoiceField(choices = ('1','2','3','4','5'))
      category = forms.ChoiceField(choices = Categories.objects.all())
      start_date = forms.DateTimeField()
      due_date = forms.DateTimeField()
      workers = forms.ChoiceField(choices = Worker.objects.all())
      percentage = forms.DecimalField(min_value=0, max_value=100)
  </code></pre>
  
  <p>new_ticket2.html</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;New Ticket&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      {% if form.errors %}
          {{form.errors}}
      {% endif %}
      &lt;p&gt;{{ method }}&lt;/p&gt;
      &lt;form action="" method="post"&gt;
          &lt;table&gt;
              {{ form.as_table }}
          &lt;/table&gt;
          &lt;input type="submit"&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>in my output I see only "GET" and submit button:</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;
      &lt;title&gt;New Ticket&lt;/title&gt;
  ...&lt;/head&gt;
  &lt;body&gt;
  
      &lt;p&gt;GET&lt;/p&gt;
      &lt;form action="" method="post"&gt;
          &lt;table&gt;
  
          &lt;/table&gt;
          &lt;input type="submit"&gt;
      &lt;/form&gt;
  ...&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>why so?</p>