prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Region list menu points to api
  ### Describe the Bug
  <!-- A clear and concise description of what the bug is. -->
  The menu item for regions points to the region api and not the region list.
  
  ### Steps to Reproduce
  
  1. Go to 'Regions'
  
  ### Expected Behavior
  <!-- A clear and concise description of what you expected to happen. -->
  The region list (`/regions/`) opens.
  
  ### Actual Behavior
  <!-- A clear and concise description of what actually happened. -->
  The region api (`/api/regions/`) opens.
  
  ### Additional Information
  <!-- Add any other context (e.g. logs, screenshots, etc.) about the problem here. -->
  This is because both urls have the name 'regions' and the last matching item in urlpatterns determines the actual url.
  
  Region list menu points to api
  ### Describe the Bug
  <!-- A clear and concise description of what the bug is. -->
  The menu item for regions points to the region api and not the region list.
  
  ### Steps to Reproduce
  
  1. Go to 'Regions'
  
  ### Expected Behavior
  <!-- A clear and concise description of what you expected to happen. -->
  The region list (`/regions/`) opens.
  
  ### Actual Behavior
  <!-- A clear and concise description of what actually happened. -->
  The region api (`/api/regions/`) opens.
  
  ### Additional Information
  <!-- Add any other context (e.g. logs, screenshots, etc.) about the problem here. -->
  This is because both urls have the name 'regions' and the last matching item in urlpatterns determines the actual url.
  
  
  </issue>
  <code>
  [start of src/api/urls.py]
  1 '''
  2 Expansion of API-Endpoints for the CMS
  3 '''
  4 from django.conf.urls import include, url
  5 
  6 from .v3.feedback import (
  7     page_feedback,
  8     search_result_feedback,
  9     region_feedback,
  10     offer_list_feedback,
  11     event_list_feedback)
  12 from .v3.languages import languages
  13 from .v3.pages import pages
  14 from .v3.push_notifications import sent_push_notifications
  15 from .v3.regions import regions, liveregions, hiddenregions, pushnew
  16 from .v3.offers import offers
  17 from .v3.single_page import single_page
  18 
  19 urlpatterns = [
  20     url(r'regions/$', regions, name='regions'),
  21     url(r'regions/live/$', liveregions, name='liveregions'),
  22     url(r'regions/hidden/$', hiddenregions, name='hiddenregions'),
  23     url(r'regions/pushnew/$', pushnew, name='pushnew'),
  24     url(r'(?P<region_slug>[-\w]+)/', include([
  25         url(r'languages/$', languages),
  26         url(r'offers/$', offers),
  27         url(r'(?P<lan_code>[-\w]+)/sent_push_notifications/$', sent_push_notifications),
  28         url(r'(?P<languages>[-\w]+)/feedback/$', page_feedback.feedback),
  29         url(r'(?P<language_code>[-\w]+)/feedback/categories$', region_feedback.region_feedback),
  30         url(r'(?P<language_code>[-\w]+)/feedback/search$', search_result_feedback.search_result_feedback),
  31         url(r'(?P<language_code>[-\w]+)/feedback/extras$', offer_list_feedback.offer_list_feedback),
  32         url(r'(?P<language_code>[-\w]+)/feedback/events$', event_list_feedback.event_list_feedback),
  33         url(r'(?P<language_code>[-\w]+)/pages/$', pages),
  34         url(r'(?P<language_code>[-\w]+)/offers/$', offers),
  35         url(r'(?P<language_code>[-\w]+)/page/$', single_page),
  36     ])),
  37 ]
  38
  [end of src/api/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/src/api/urls.py b/src/api/urls.py
  --- a/src/api/urls.py
  +++ b/src/api/urls.py
  @@ -17,10 +17,10 @@
   from .v3.single_page import single_page
   
   urlpatterns = [
  -    url(r'regions/$', regions, name='regions'),
  -    url(r'regions/live/$', liveregions, name='liveregions'),
  -    url(r'regions/hidden/$', hiddenregions, name='hiddenregions'),
  -    url(r'regions/pushnew/$', pushnew, name='pushnew'),
  +    url(r'regions/$', regions),
  +    url(r'regions/live/$', liveregions),
  +    url(r'regions/hidden/$', hiddenregions),
  +    url(r'regions/pushnew/$', pushnew),
       url(r'(?P<region_slug>[-\w]+)/', include([
           url(r'languages/$', languages),
           url(r'offers/$', offers),
  
verification_info: {"golden_diff": "diff --git a/src/api/urls.py b/src/api/urls.py\n--- a/src/api/urls.py\n+++ b/src/api/urls.py\n@@ -17,10 +17,10 @@\n from .v3.single_page import single_page\n \n urlpatterns = [\n-    url(r'regions/$', regions, name='regions'),\n-    url(r'regions/live/$', liveregions, name='liveregions'),\n-    url(r'regions/hidden/$', hiddenregions, name='hiddenregions'),\n-    url(r'regions/pushnew/$', pushnew, name='pushnew'),\n+    url(r'regions/$', regions),\n+    url(r'regions/live/$', liveregions),\n+    url(r'regions/hidden/$', hiddenregions),\n+    url(r'regions/pushnew/$', pushnew),\n     url(r'(?P<region_slug>[-\\w]+)/', include([\n         url(r'languages/$', languages),\n         url(r'offers/$', offers),\n", "issue": "Region list menu points to api\n### Describe the Bug\r\n<!-- A clear and concise description of what the bug is. -->\r\nThe menu item for regions points to the region api and not the region list.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Go to 'Regions'\r\n\r\n### Expected Behavior\r\n<!-- A clear and concise description of what you expected to happen. -->\r\nThe region list (`/regions/`) opens.\r\n\r\n### Actual Behavior\r\n<!-- A clear and concise description of what actually happened. -->\r\nThe region api (`/api/regions/`) opens.\r\n\r\n### Additional Information\r\n<!-- Add any other context (e.g. logs, screenshots, etc.) about the problem here. -->\r\nThis is because both urls have the name 'regions' and the last matching item in urlpatterns determines the actual url.\r\n\nRegion list menu points to api\n### Describe the Bug\r\n<!-- A clear and concise description of what the bug is. -->\r\nThe menu item for regions points to the region api and not the region list.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Go to 'Regions'\r\n\r\n### Expected Behavior\r\n<!-- A clear and concise description of what you expected to happen. -->\r\nThe region list (`/regions/`) opens.\r\n\r\n### Actual Behavior\r\n<!-- A clear and concise description of what actually happened. -->\r\nThe region api (`/api/regions/`) opens.\r\n\r\n### Additional Information\r\n<!-- Add any other context (e.g. logs, screenshots, etc.) about the problem here. -->\r\nThis is because both urls have the name 'regions' and the last matching item in urlpatterns determines the actual url.\r\n\n", "before_files": [{"content": "'''\nExpansion of API-Endpoints for the CMS\n'''\nfrom django.conf.urls import include, url\n\nfrom .v3.feedback import (\n    page_feedback,\n    search_result_feedback,\n    region_feedback,\n    offer_list_feedback,\n    event_list_feedback)\nfrom .v3.languages import languages\nfrom .v3.pages import pages\nfrom .v3.push_notifications import sent_push_notifications\nfrom .v3.regions import regions, liveregions, hiddenregions, pushnew\nfrom .v3.offers import offers\nfrom .v3.single_page import single_page\n\nurlpatterns = [\n    url(r'regions/$', regions, name='regions'),\n    url(r'regions/live/$', liveregions, name='liveregions'),\n    url(r'regions/hidden/$', hiddenregions, name='hiddenregions'),\n    url(r'regions/pushnew/$', pushnew, name='pushnew'),\n    url(r'(?P<region_slug>[-\\w]+)/', include([\n        url(r'languages/$', languages),\n        url(r'offers/$', offers),\n        url(r'(?P<lan_code>[-\\w]+)/sent_push_notifications/$', sent_push_notifications),\n        url(r'(?P<languages>[-\\w]+)/feedback/$', page_feedback.feedback),\n        url(r'(?P<language_code>[-\\w]+)/feedback/categories$', region_feedback.region_feedback),\n        url(r'(?P<language_code>[-\\w]+)/feedback/search$', search_result_feedback.search_result_feedback),\n        url(r'(?P<language_code>[-\\w]+)/feedback/extras$', offer_list_feedback.offer_list_feedback),\n        url(r'(?P<language_code>[-\\w]+)/feedback/events$', event_list_feedback.event_list_feedback),\n        url(r'(?P<language_code>[-\\w]+)/pages/$', pages),\n        url(r'(?P<language_code>[-\\w]+)/offers/$', offers),\n        url(r'(?P<language_code>[-\\w]+)/page/$', single_page),\n    ])),\n]\n", "path": "src/api/urls.py"}]}