prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  bplan template dates saved but not shown in Dashboard
  URL: https://mein.berlin.de/dashboard/projects/erweiterung-mauerpark-bebauungsplan-3-64-im-bezirk/bplan/
  user: initiator
  expected behaviour: date and time that I have entered are still shown after saving form
  behaviour: dates are no longer shown after saving, no error message, I can still publish the project and date is shown correctly on project tile
  device & browser: Desktop, mac, chrome Version 76.0.3809.132 (Offizieller Build) (64-Bit)
  Importance: relevant bug, fix before next release
  
  </issue>
  <code>
  [start of meinberlin/apps/bplan/forms.py]
  1 from django import forms
  2 
  3 from meinberlin.apps.extprojects.forms import ExternalProjectCreateForm
  4 from meinberlin.apps.extprojects.forms import ExternalProjectForm
  5 
  6 from . import models
  7 
  8 
  9 class StatementForm(forms.ModelForm):
  10     class Meta:
  11         model = models.Statement
  12         fields = ['name', 'email', 'statement',
  13                   'street_number', 'postal_code_city']
  14 
  15 
  16 class BplanProjectCreateForm(ExternalProjectCreateForm):
  17 
  18     class Meta:
  19         model = models.Bplan
  20         fields = ['name', 'description', 'tile_image', 'tile_image_copyright']
  21 
  22 
  23 class BplanProjectForm(ExternalProjectForm):
  24 
  25     class Meta:
  26         model = models.Bplan
  27         fields = ['name', 'identifier', 'url', 'description', 'tile_image',
  28                   'tile_image_copyright', 'is_archived', 'office_worker_email']
  29         required_for_project_publish = ['name', 'url', 'description',
  30                                         'office_worker_email']
  31
  [end of meinberlin/apps/bplan/forms.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/meinberlin/apps/bplan/forms.py b/meinberlin/apps/bplan/forms.py
  --- a/meinberlin/apps/bplan/forms.py
  +++ b/meinberlin/apps/bplan/forms.py
  @@ -25,6 +25,7 @@
       class Meta:
           model = models.Bplan
           fields = ['name', 'identifier', 'url', 'description', 'tile_image',
  -                  'tile_image_copyright', 'is_archived', 'office_worker_email']
  +                  'tile_image_copyright', 'is_archived', 'office_worker_email',
  +                  'start_date', 'end_date']
           required_for_project_publish = ['name', 'url', 'description',
                                           'office_worker_email']
  
verification_info: {"golden_diff": "diff --git a/meinberlin/apps/bplan/forms.py b/meinberlin/apps/bplan/forms.py\n--- a/meinberlin/apps/bplan/forms.py\n+++ b/meinberlin/apps/bplan/forms.py\n@@ -25,6 +25,7 @@\n     class Meta:\n         model = models.Bplan\n         fields = ['name', 'identifier', 'url', 'description', 'tile_image',\n-                  'tile_image_copyright', 'is_archived', 'office_worker_email']\n+                  'tile_image_copyright', 'is_archived', 'office_worker_email',\n+                  'start_date', 'end_date']\n         required_for_project_publish = ['name', 'url', 'description',\n                                         'office_worker_email']\n", "issue": "bplan template dates saved but not shown in Dashboard\nURL: https://mein.berlin.de/dashboard/projects/erweiterung-mauerpark-bebauungsplan-3-64-im-bezirk/bplan/\r\nuser: initiator\r\nexpected behaviour: date and time that I have entered are still shown after saving form\r\nbehaviour: dates are no longer shown after saving, no error message, I can still publish the project and date is shown correctly on project tile\r\ndevice & browser: Desktop, mac, chrome Version 76.0.3809.132 (Offizieller Build) (64-Bit)\r\nImportance: relevant bug, fix before next release\n", "before_files": [{"content": "from django import forms\n\nfrom meinberlin.apps.extprojects.forms import ExternalProjectCreateForm\nfrom meinberlin.apps.extprojects.forms import ExternalProjectForm\n\nfrom . import models\n\n\nclass StatementForm(forms.ModelForm):\n    class Meta:\n        model = models.Statement\n        fields = ['name', 'email', 'statement',\n                  'street_number', 'postal_code_city']\n\n\nclass BplanProjectCreateForm(ExternalProjectCreateForm):\n\n    class Meta:\n        model = models.Bplan\n        fields = ['name', 'description', 'tile_image', 'tile_image_copyright']\n\n\nclass BplanProjectForm(ExternalProjectForm):\n\n    class Meta:\n        model = models.Bplan\n        fields = ['name', 'identifier', 'url', 'description', 'tile_image',\n                  'tile_image_copyright', 'is_archived', 'office_worker_email']\n        required_for_project_publish = ['name', 'url', 'description',\n                                        'office_worker_email']\n", "path": "meinberlin/apps/bplan/forms.py"}]}