prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Database: Open data only.
  Where do we need / want to remind the users?
  I added this rule to the [DatabaseRules](http://wiki.openmod-initiative.org/wiki/DatabaseRules).
  Do we want to add a reminder to the upload interface?
  
  
  </issue>
  <code>
  [start of base/urls.py]
  1 from django.conf.urls import url
  2 
  3 from base import views
  4 
  5 urlpatterns = [
  6     url(r"^robots.txt$", views.robot),
  7     url(r"^$", views.Welcome.as_view(), name="index"),
  8     url(r"^about/$", views.redir, {"target": "about"}, name="index"),
  9     url(r"^faq/$", views.redir, {"target": "faq"}, name="index"),
  10     url(r"^discussion/$", views.redir, {"target": "discussion"}, name="index"),
  11     url(r"^contact/$", views.ContactView.as_view(), name="index"),
  12     url(r"^legal/impressum/$", views.redir, {"target": "impressum"}, name="index"),
  13     url(r"^legal/datasec/$", views.redir, {"target": "datasecurity"}, name="index"),
  14     url(r"^legal/tou/$", views.redir, {"target": "terms_of_use"}, name="index"),
  15 ]
  16
  [end of base/urls.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/base/urls.py b/base/urls.py
  --- a/base/urls.py
  +++ b/base/urls.py
  @@ -9,7 +9,6 @@
       url(r"^faq/$", views.redir, {"target": "faq"}, name="index"),
       url(r"^discussion/$", views.redir, {"target": "discussion"}, name="index"),
       url(r"^contact/$", views.ContactView.as_view(), name="index"),
  -    url(r"^legal/impressum/$", views.redir, {"target": "impressum"}, name="index"),
  -    url(r"^legal/datasec/$", views.redir, {"target": "datasecurity"}, name="index"),
  +    url(r"^legal/privacy_policy/$", views.redir, {"target": "privacy_policy"}, name="index"),
       url(r"^legal/tou/$", views.redir, {"target": "terms_of_use"}, name="index"),
   ]
  
verification_info: {"golden_diff": "diff --git a/base/urls.py b/base/urls.py\n--- a/base/urls.py\n+++ b/base/urls.py\n@@ -9,7 +9,6 @@\n     url(r\"^faq/$\", views.redir, {\"target\": \"faq\"}, name=\"index\"),\n     url(r\"^discussion/$\", views.redir, {\"target\": \"discussion\"}, name=\"index\"),\n     url(r\"^contact/$\", views.ContactView.as_view(), name=\"index\"),\n-    url(r\"^legal/impressum/$\", views.redir, {\"target\": \"impressum\"}, name=\"index\"),\n-    url(r\"^legal/datasec/$\", views.redir, {\"target\": \"datasecurity\"}, name=\"index\"),\n+    url(r\"^legal/privacy_policy/$\", views.redir, {\"target\": \"privacy_policy\"}, name=\"index\"),\n     url(r\"^legal/tou/$\", views.redir, {\"target\": \"terms_of_use\"}, name=\"index\"),\n ]\n", "issue": "Database: Open data only.\nWhere do we need / want to remind the users?\nI added this rule to the [DatabaseRules](http://wiki.openmod-initiative.org/wiki/DatabaseRules).\nDo we want to add a reminder to the upload interface?\n\n", "before_files": [{"content": "from django.conf.urls import url\n\nfrom base import views\n\nurlpatterns = [\n    url(r\"^robots.txt$\", views.robot),\n    url(r\"^$\", views.Welcome.as_view(), name=\"index\"),\n    url(r\"^about/$\", views.redir, {\"target\": \"about\"}, name=\"index\"),\n    url(r\"^faq/$\", views.redir, {\"target\": \"faq\"}, name=\"index\"),\n    url(r\"^discussion/$\", views.redir, {\"target\": \"discussion\"}, name=\"index\"),\n    url(r\"^contact/$\", views.ContactView.as_view(), name=\"index\"),\n    url(r\"^legal/impressum/$\", views.redir, {\"target\": \"impressum\"}, name=\"index\"),\n    url(r\"^legal/datasec/$\", views.redir, {\"target\": \"datasecurity\"}, name=\"index\"),\n    url(r\"^legal/tou/$\", views.redir, {\"target\": \"terms_of_use\"}, name=\"index\"),\n]\n", "path": "base/urls.py"}]}