prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Use API v2 for pizza orders
  ### Is your feature request related to a problem? Please describe.
  For some reason (#1931) the payment widget of the order overview page is broken. 
  
  ### Describe the solution you'd like
  Instead of debugging the existing code, I prefer switching API v2 immedaitely.
  
  ### Motivation
  Better
  
  ### Describe alternatives you've considered
  Debugging 
  
  ### Additional context
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `website/pizzas/api/v2/admin/urls.py`
  Content:
  ```
  1 """Events app API v2 urls."""
  2 from django.urls import path
  3 
  4 from events.api.v2.admin.views import EventRegistrationAdminFieldsView
  5 from pizzas.api.v2.admin.views import (
  6     FoodEventAdminListView,
  7     FoodEventAdminDetailView,
  8     FoodOrderAdminDetailView,
  9     FoodEventOrdersAdminListView,
  10     ProductsAdminListView,
  11     ProductAdminDetailAPIView,
  12 )
  13 
  14 app_name = "food"
  15 
  16 urlpatterns = [
  17     path("food/events/", FoodEventAdminListView.as_view(), name="food-events-index"),
  18     path(
  19         "food/events/<int:pk>/",
  20         FoodEventAdminDetailView.as_view(),
  21         name="food-event-detail",
  22     ),
  23     path(
  24         "food/events/<int:pk>/orders/",
  25         FoodEventOrdersAdminListView.as_view(),
  26         name="food-event-orders",
  27     ),
  28     path(
  29         "food/events/<int:event_id>/orders/<int:pk>/",
  30         FoodOrderAdminDetailView.as_view(),
  31         name="event-registration-detail",
  32     ),
  33     path("food/products/", ProductsAdminListView.as_view(), name="food-products-index"),
  34     path(
  35         "food/products/<int:pk>/",
  36         ProductAdminDetailAPIView.as_view(),
  37         name="food-product-detail",
  38     ),
  39 ]
  40
  ```
  --- 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/website/pizzas/api/v2/admin/urls.py b/website/pizzas/api/v2/admin/urls.py
  --- a/website/pizzas/api/v2/admin/urls.py
  +++ b/website/pizzas/api/v2/admin/urls.py
  @@ -28,7 +28,7 @@
       path(
           "food/events/<int:event_id>/orders/<int:pk>/",
           FoodOrderAdminDetailView.as_view(),
  -        name="event-registration-detail",
  +        name="food-event-order-detail",
       ),
       path("food/products/", ProductsAdminListView.as_view(), name="food-products-index"),
       path(
  
verification_info: {"golden_diff": "diff --git a/website/pizzas/api/v2/admin/urls.py b/website/pizzas/api/v2/admin/urls.py\n--- a/website/pizzas/api/v2/admin/urls.py\n+++ b/website/pizzas/api/v2/admin/urls.py\n@@ -28,7 +28,7 @@\n     path(\n         \"food/events/<int:event_id>/orders/<int:pk>/\",\n         FoodOrderAdminDetailView.as_view(),\n-        name=\"event-registration-detail\",\n+        name=\"food-event-order-detail\",\n     ),\n     path(\"food/products/\", ProductsAdminListView.as_view(), name=\"food-products-index\"),\n     path(\n", "issue": "Use API v2 for pizza orders\n### Is your feature request related to a problem? Please describe.\r\nFor some reason (#1931) the payment widget of the order overview page is broken. \r\n\r\n### Describe the solution you'd like\r\nInstead of debugging the existing code, I prefer switching API v2 immedaitely.\r\n\r\n### Motivation\r\nBetter\r\n\r\n### Describe alternatives you've considered\r\nDebugging \r\n\r\n### Additional context\r\n\n", "before_files": [{"content": "\"\"\"Events app API v2 urls.\"\"\"\nfrom django.urls import path\n\nfrom events.api.v2.admin.views import EventRegistrationAdminFieldsView\nfrom pizzas.api.v2.admin.views import (\n    FoodEventAdminListView,\n    FoodEventAdminDetailView,\n    FoodOrderAdminDetailView,\n    FoodEventOrdersAdminListView,\n    ProductsAdminListView,\n    ProductAdminDetailAPIView,\n)\n\napp_name = \"food\"\n\nurlpatterns = [\n    path(\"food/events/\", FoodEventAdminListView.as_view(), name=\"food-events-index\"),\n    path(\n        \"food/events/<int:pk>/\",\n        FoodEventAdminDetailView.as_view(),\n        name=\"food-event-detail\",\n    ),\n    path(\n        \"food/events/<int:pk>/orders/\",\n        FoodEventOrdersAdminListView.as_view(),\n        name=\"food-event-orders\",\n    ),\n    path(\n        \"food/events/<int:event_id>/orders/<int:pk>/\",\n        FoodOrderAdminDetailView.as_view(),\n        name=\"event-registration-detail\",\n    ),\n    path(\"food/products/\", ProductsAdminListView.as_view(), name=\"food-products-index\"),\n    path(\n        \"food/products/<int:pk>/\",\n        ProductAdminDetailAPIView.as_view(),\n        name=\"food-product-detail\",\n    ),\n]\n", "path": "website/pizzas/api/v2/admin/urls.py"}], "after_files": [{"content": "\"\"\"Events app API v2 urls.\"\"\"\nfrom django.urls import path\n\nfrom events.api.v2.admin.views import EventRegistrationAdminFieldsView\nfrom pizzas.api.v2.admin.views import (\n    FoodEventAdminListView,\n    FoodEventAdminDetailView,\n    FoodOrderAdminDetailView,\n    FoodEventOrdersAdminListView,\n    ProductsAdminListView,\n    ProductAdminDetailAPIView,\n)\n\napp_name = \"food\"\n\nurlpatterns = [\n    path(\"food/events/\", FoodEventAdminListView.as_view(), name=\"food-events-index\"),\n    path(\n        \"food/events/<int:pk>/\",\n        FoodEventAdminDetailView.as_view(),\n        name=\"food-event-detail\",\n    ),\n    path(\n        \"food/events/<int:pk>/orders/\",\n        FoodEventOrdersAdminListView.as_view(),\n        name=\"food-event-orders\",\n    ),\n    path(\n        \"food/events/<int:event_id>/orders/<int:pk>/\",\n        FoodOrderAdminDetailView.as_view(),\n        name=\"food-event-order-detail\",\n    ),\n    path(\"food/products/\", ProductsAdminListView.as_view(), name=\"food-products-index\"),\n    path(\n        \"food/products/<int:pk>/\",\n        ProductAdminDetailAPIView.as_view(),\n        name=\"food-product-detail\",\n    ),\n]\n", "path": "website/pizzas/api/v2/admin/urls.py"}]}