prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Scan Report Edit Table
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `app/api/proxy/urls.py`
  Content:
  ```
  1 from config import settings
  2 from django.urls import re_path
  3 from revproxy.views import ProxyView
  4 
  5 # A set of urls that will override any root paths requested, and proxy them to the Next.js app.
  6 urlpatterns = [
  7     # /scanreports/ and escape any further paths
  8     re_path(
  9         r"^scanreports/(?P<path>(?!create))$",
  10         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/scanreports"),
  11         name="scan-report-list",
  12     ),
  13     re_path(
  14         r"^scanreports/(?P<path>\d+)/?$",
  15         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/scanreports/"),
  16         name="scan-report-tables",
  17     ),
  18     re_path(
  19         r"^scanreports/(?P<path>\d+/tables/\d+)/$",
  20         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/scanreports/"),
  21         name="scan-report-fields",
  22     ),
  23     re_path(
  24         r"^scanreports/(?P<path>\d+/tables/\d+/fields/\d+)/$",
  25         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/scanreports/"),
  26         name="scan-report-values",
  27     ),
  28     re_path(
  29         r"^datasets/(?P<path>(?![\d/]).*)$",
  30         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/datasets"),
  31         name="datasets-list",
  32     ),
  33     re_path(
  34         r"^datasets/(?P<path>\d+)/?$",
  35         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/datasets"),
  36         name="datasets-scanreports-list",
  37     ),
  38     re_path(
  39         "_next/(?P<path>.*)$",
  40         ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/_next"),
  41     ),
  42 ]
  43
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/app/api/proxy/urls.py b/app/api/proxy/urls.py
  --- a/app/api/proxy/urls.py
  +++ b/app/api/proxy/urls.py
  @@ -25,6 +25,11 @@
           ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/scanreports/"),
           name="scan-report-values",
       ),
  +    re_path(
  +        r"^scanreports/(?P<path>\d+/tables/\d+/update)/$",
  +        ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/scanreports/"),
  +        name="scan-report-edit-table",
  +    ),
       re_path(
           r"^datasets/(?P<path>(?![\d/]).*)$",
           ProxyView.as_view(upstream=f"{settings.NEXTJS_URL}/datasets"),
  
verification_info: {"golden_diff": "diff --git a/app/api/proxy/urls.py b/app/api/proxy/urls.py\n--- a/app/api/proxy/urls.py\n+++ b/app/api/proxy/urls.py\n@@ -25,6 +25,11 @@\n         ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n         name=\"scan-report-values\",\n     ),\n+    re_path(\n+        r\"^scanreports/(?P<path>\\d+/tables/\\d+/update)/$\",\n+        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n+        name=\"scan-report-edit-table\",\n+    ),\n     re_path(\n         r\"^datasets/(?P<path>(?![\\d/]).*)$\",\n         ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/datasets\"),\n", "issue": "Scan Report Edit Table\n\n", "before_files": [{"content": "from config import settings\nfrom django.urls import re_path\nfrom revproxy.views import ProxyView\n\n# A set of urls that will override any root paths requested, and proxy them to the Next.js app.\nurlpatterns = [\n    # /scanreports/ and escape any further paths\n    re_path(\n        r\"^scanreports/(?P<path>(?!create))$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports\"),\n        name=\"scan-report-list\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+)/?$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-tables\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+/tables/\\d+)/$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-fields\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+/tables/\\d+/fields/\\d+)/$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-values\",\n    ),\n    re_path(\n        r\"^datasets/(?P<path>(?![\\d/]).*)$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/datasets\"),\n        name=\"datasets-list\",\n    ),\n    re_path(\n        r\"^datasets/(?P<path>\\d+)/?$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/datasets\"),\n        name=\"datasets-scanreports-list\",\n    ),\n    re_path(\n        \"_next/(?P<path>.*)$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/_next\"),\n    ),\n]\n", "path": "app/api/proxy/urls.py"}], "after_files": [{"content": "from config import settings\nfrom django.urls import re_path\nfrom revproxy.views import ProxyView\n\n# A set of urls that will override any root paths requested, and proxy them to the Next.js app.\nurlpatterns = [\n    # /scanreports/ and escape any further paths\n    re_path(\n        r\"^scanreports/(?P<path>(?!create))$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports\"),\n        name=\"scan-report-list\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+)/?$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-tables\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+/tables/\\d+)/$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-fields\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+/tables/\\d+/fields/\\d+)/$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-values\",\n    ),\n    re_path(\n        r\"^scanreports/(?P<path>\\d+/tables/\\d+/update)/$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/scanreports/\"),\n        name=\"scan-report-edit-table\",\n    ),\n    re_path(\n        r\"^datasets/(?P<path>(?![\\d/]).*)$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/datasets\"),\n        name=\"datasets-list\",\n    ),\n    re_path(\n        r\"^datasets/(?P<path>\\d+)/?$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/datasets\"),\n        name=\"datasets-scanreports-list\",\n    ),\n    re_path(\n        \"_next/(?P<path>.*)$\",\n        ProxyView.as_view(upstream=f\"{settings.NEXTJS_URL}/_next\"),\n    ),\n]\n", "path": "app/api/proxy/urls.py"}]}