title: Django DateField increment
body: <p>The task is to display Personal and Pensionar today birth day in one template and to have a hiperlink to display the case of tomorrow birth day.</p>
  
  <p>Of course yesterday option will be the opposite from tomorrow.</p>
  
  <p>In case of current date it works perfect but I do not know how to increase the date variable, then transmit to view.</p>
  
  <p>model.py</p>
  
  <pre><code>class Personal(models.Model):
      nume = models.CharField(max_length=40)
      prenume = models.CharField(max_length=40)
      dataNastere = models.DateField(blank=True, null=True)
  
      def __str__(self):
          return self.nume
  
  class Pensionar(models.Model):
      nume = models.CharField(max_length=40)
      prenume = models.CharField(max_length=40)
      dataNastere = models.DateField(blank=True, null=True)
  
      def __str__(self):
          return self.nume
  </code></pre>
  
  <p>url.py</p>
  
  <pre><code>from django.conf.urls import include, url
  from . import views
  
  urlpatterns = [
      url(r'^$', views.index, name='index'),
      url(r'^omagiatulZilei/$', views.omagiatulZilei_list, name='omagiatulZilei_list'),
      url(r'^omagiatulZilei_next/$', views.nextDate, name='nextDate'),
  </code></pre>
  
  <p>]</p>
  
  <p>views.py</p>
  
  <pre><code>def omagiatulZilei_list(request):
      today = timezone.now().date()
      personals = Personal.objects.order_by('nume').filter(
          dataNastere__month=today.month,
          dataNastere__day=today.day)
  
      pensionars = Pensionar.objects.order_by('nume').filter(
          dataNastere__month=today.month,
          dataNastere__day=today.day)
  
      context = {'personals' : personals, 'pensionars' : pensionars}
      return render(request, 'blog/omagiatulZilei_list.html', context=context)
  
  def nextDate(request, ??):  # ?? is a datefield variable
      nextD = ?? + 1          # increment by 1 (the meaning is next day)
  
      personals = Personal.objects.order_by('nume').filter(
          dataNastere__month=nextD.month,
          dataNastere__day=nextD.day)
  
      pensionars = Pensionar.objects.order_by('nume').filter(
          dataNastere__month=nextD.month,
          dataNastere__day=nextD.day)
  
      context = {'personals' : personals, 'pensionars' : pensionars}
      return render(request, 'blog/omagiatulZilei_list.html', context=context)
  </code></pre>
  
  <p>omagiatulZilei_list.html</p>
  
  <pre><code>{% load staticfiles %}
  
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Omagiatul Zilei&lt;/title&gt;
      &lt;/head&gt;
  &lt;body&gt;
  
  &lt;a href="{% url 'nextDate' %}"&gt;next date&lt;/a&gt;&lt;br&gt;
  
  {% for personal in personals %}
      {{ personal.nume }} 
      {{ personal.prenume }},
      {{ personal.dataNastere }} &lt;br&gt;
  {% endfor %}
  
  {% for pensionar in pensionars %}
      {{ pensionar.nume }}
      {{ pensionar.prenume }}, 
      {{ pensionar.dataNastere }} &lt;br&gt;
  {% endfor %}
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Tell me the correct answer in code.</p>