prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Include tailwind.css via npm instead of static file
  At the moment, we include tailwind.css as a static file in our repo.
  Instead, we should use [the recommended installation via npm](https://tailwindcss.com/docs/installation/) where we can configure exactly which parts we need and compile a minified css file in our deployment chain.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `backend/cms/views/media/media_list_view.py`
  Content:
  ```
  1 from django.contrib.auth.decorators import login_required
  2 from django.shortcuts import render
  3 from django.utils.decorators import method_decorator
  4 from django.views.generic import TemplateView
  5 
  6 from ...decorators import region_permission_required
  7 from ...models import Document
  8 
  9 
  10 @method_decorator(login_required, name='dispatch')
  11 @method_decorator(region_permission_required, name='dispatch')
  12 class MediaListView(TemplateView):
  13     template_name = 'media/list.html'
  14     base_context = {'current_menu_item': 'media'}
  15 
  16     def get(self, request, *args, **kwargs):
  17         documents = Document.objects.all()
  18 
  19         return render(
  20             request,
  21             self.template_name,
  22             {
  23                 **self.base_context,
  24                 'documents': documents
  25             }
  26         )
  27
  ```
  --- 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/backend/cms/views/media/media_list_view.py b/backend/cms/views/media/media_list_view.py
  --- a/backend/cms/views/media/media_list_view.py
  +++ b/backend/cms/views/media/media_list_view.py
  @@ -10,7 +10,7 @@
   @method_decorator(login_required, name='dispatch')
   @method_decorator(region_permission_required, name='dispatch')
   class MediaListView(TemplateView):
  -    template_name = 'media/list.html'
  +    template_name = 'media/media_list.html'
       base_context = {'current_menu_item': 'media'}
   
       def get(self, request, *args, **kwargs):
  
verification_info: {"golden_diff": "diff --git a/backend/cms/views/media/media_list_view.py b/backend/cms/views/media/media_list_view.py\n--- a/backend/cms/views/media/media_list_view.py\n+++ b/backend/cms/views/media/media_list_view.py\n@@ -10,7 +10,7 @@\n @method_decorator(login_required, name='dispatch')\n @method_decorator(region_permission_required, name='dispatch')\n class MediaListView(TemplateView):\n-    template_name = 'media/list.html'\n+    template_name = 'media/media_list.html'\n     base_context = {'current_menu_item': 'media'}\n \n     def get(self, request, *args, **kwargs):\n", "issue": "Include tailwind.css via npm instead of static file\nAt the moment, we include tailwind.css as a static file in our repo.\r\nInstead, we should use [the recommended installation via npm](https://tailwindcss.com/docs/installation/) where we can configure exactly which parts we need and compile a minified css file in our deployment chain.\n", "before_files": [{"content": "from django.contrib.auth.decorators import login_required\nfrom django.shortcuts import render\nfrom django.utils.decorators import method_decorator\nfrom django.views.generic import TemplateView\n\nfrom ...decorators import region_permission_required\nfrom ...models import Document\n\n\n@method_decorator(login_required, name='dispatch')\n@method_decorator(region_permission_required, name='dispatch')\nclass MediaListView(TemplateView):\n    template_name = 'media/list.html'\n    base_context = {'current_menu_item': 'media'}\n\n    def get(self, request, *args, **kwargs):\n        documents = Document.objects.all()\n\n        return render(\n            request,\n            self.template_name,\n            {\n                **self.base_context,\n                'documents': documents\n            }\n        )\n", "path": "backend/cms/views/media/media_list_view.py"}], "after_files": [{"content": "from django.contrib.auth.decorators import login_required\nfrom django.shortcuts import render\nfrom django.utils.decorators import method_decorator\nfrom django.views.generic import TemplateView\n\nfrom ...decorators import region_permission_required\nfrom ...models import Document\n\n\n@method_decorator(login_required, name='dispatch')\n@method_decorator(region_permission_required, name='dispatch')\nclass MediaListView(TemplateView):\n    template_name = 'media/media_list.html'\n    base_context = {'current_menu_item': 'media'}\n\n    def get(self, request, *args, **kwargs):\n        documents = Document.objects.all()\n\n        return render(\n            request,\n            self.template_name,\n            {\n                **self.base_context,\n                'documents': documents\n            }\n        )\n", "path": "backend/cms/views/media/media_list_view.py"}]}