prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Show banner throughout application when "live demo mode" is turned on.
  We should show a banner at the top of the screen on all pages that explains that Mathesar is in live demo mode and that each session has its own copy of demo data and that data will be deleted regularly.
  
  Assigning this to @mathemancer to make sure it gets implemented at some point, @ghislaineguerin for the design, and @pavish for the frontend.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `config/context_processors.py`
  Content:
  ```
  1 from django.conf import settings
  2 
  3 from mathesar.utils.frontend import get_manifest_data
  4 
  5 
  6 def frontend_settings(request):
  7     frontend_settings = {
  8         'development_mode': settings.MATHESAR_MODE == 'DEVELOPMENT',
  9         'manifest_data': get_manifest_data()
  10     }
  11     # Only include development URL if we're in development mode.
  12     if frontend_settings['development_mode'] is True:
  13         frontend_settings['client_dev_url'] = settings.MATHESAR_CLIENT_DEV_URL
  14     return frontend_settings
  15
  ```
  --- 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/config/context_processors.py b/config/context_processors.py
  --- a/config/context_processors.py
  +++ b/config/context_processors.py
  @@ -6,7 +6,8 @@
   def frontend_settings(request):
       frontend_settings = {
           'development_mode': settings.MATHESAR_MODE == 'DEVELOPMENT',
  -        'manifest_data': get_manifest_data()
  +        'manifest_data': get_manifest_data(),
  +        'live_demo_mode': getattr(settings, 'MATHESAR_LIVE_DEMO', False)
       }
       # Only include development URL if we're in development mode.
       if frontend_settings['development_mode'] is True:
  
verification_info: {"golden_diff": "diff --git a/config/context_processors.py b/config/context_processors.py\n--- a/config/context_processors.py\n+++ b/config/context_processors.py\n@@ -6,7 +6,8 @@\n def frontend_settings(request):\n     frontend_settings = {\n         'development_mode': settings.MATHESAR_MODE == 'DEVELOPMENT',\n-        'manifest_data': get_manifest_data()\n+        'manifest_data': get_manifest_data(),\n+        'live_demo_mode': getattr(settings, 'MATHESAR_LIVE_DEMO', False)\n     }\n     # Only include development URL if we're in development mode.\n     if frontend_settings['development_mode'] is True:\n", "issue": "Show banner throughout application when \"live demo mode\" is turned on.\nWe should show a banner at the top of the screen on all pages that explains that Mathesar is in live demo mode and that each session has its own copy of demo data and that data will be deleted regularly.\r\n\r\nAssigning this to @mathemancer to make sure it gets implemented at some point, @ghislaineguerin for the design, and @pavish for the frontend.\n", "before_files": [{"content": "from django.conf import settings\n\nfrom mathesar.utils.frontend import get_manifest_data\n\n\ndef frontend_settings(request):\n    frontend_settings = {\n        'development_mode': settings.MATHESAR_MODE == 'DEVELOPMENT',\n        'manifest_data': get_manifest_data()\n    }\n    # Only include development URL if we're in development mode.\n    if frontend_settings['development_mode'] is True:\n        frontend_settings['client_dev_url'] = settings.MATHESAR_CLIENT_DEV_URL\n    return frontend_settings\n", "path": "config/context_processors.py"}], "after_files": [{"content": "from django.conf import settings\n\nfrom mathesar.utils.frontend import get_manifest_data\n\n\ndef frontend_settings(request):\n    frontend_settings = {\n        'development_mode': settings.MATHESAR_MODE == 'DEVELOPMENT',\n        'manifest_data': get_manifest_data(),\n        'live_demo_mode': getattr(settings, 'MATHESAR_LIVE_DEMO', False)\n    }\n    # Only include development URL if we're in development mode.\n    if frontend_settings['development_mode'] is True:\n        frontend_settings['client_dev_url'] = settings.MATHESAR_CLIENT_DEV_URL\n    return frontend_settings\n", "path": "config/context_processors.py"}]}