title: Using Date Range with FilterSet Django
body: <p>I'm trying to create a Date Range Filter , so this is my Model and filter:</p>
  
  <pre><code>class Caixa(models.Model):
      id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
      data = models.DateField('Data')
      total = models.DecimalField('Total', decimal_places=2, max_digits=10, null=True)
      unidade = models.ForeignKey(Unidade, on_delete=models.CASCADE)
  
      def __str__(self):
          return "Caixa " + self.unidade.nome
  
  class CaixaFilter(django_filters.FilterSet):
      data_inicial = django_filters.DateFilter(field_name='data', lookup_expr='gte'),
      data_final = django_filters.DateFilter(field_name='data', lookup_expr='lte')
  
      class Meta:
          model = Caixa
          fields = ['data']
  </code></pre>
  
  <p>So, in my HTML i have the following:</p>
  
  <pre><code>&lt;form method="get"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col s6"&gt;
                      {% render_field filter.form.data_inicial class="datepicker" %}
                  &lt;/div&gt;
                  &lt;div class="col s6"&gt;
                      {% render_field filter.form.data_final class="datepicker" %}
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;button type="submit" class="btn btn-primary"&gt;
                  &lt;span class="glyphicon glyphicon-search"&gt;&lt;/span&gt; Buscar
              &lt;/button&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>But only "<strong>data_final</strong>" field appear in HTML. </p>