prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Cannot access Django admin panel in a Heroku deployment
  How to reproduce the behaviour
  ---------
  The FAQ describes how to [create a user via the Django admin panel](https://github.com/doccano/doccano/blob/master/docs/faq.md#how-to-create-a-user) for a locally hosted Doccano. When run locally, I have no problem to reach the admin panel on `http://localhost:8000/admin/`, in Heroku however it is not working.
  
  I have tried to reach it on
  - `https://mydeployment.herokuapp.com/admin/`
  - `https://mydeployment.herokuapp.com/admin/login`
  - `https://mydeployment.herokuapp.com/admin/login/`
  - `http://mydeployment.herokuapp.com/admin/`
  
  Those urls all result in a `500 Internal Server Error`.
  Am I missing something here, or is this perhaps a bug?
  
  Your Environment
  ---------
  <!-- Include details of your environment. -->
  
  *   Operating System: -
  *   Python Version Used: -
  *   When did you install doccano: A few days ago
  *   How did you install doccano (Heroku button etc): Heroku button
  
  
  --- 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/config/settings/heroku.py`
  Content:
  ```
  1 import django_heroku
  2 
  3 from .base import *  # noqa: F401,F403
  4 
  5 django_heroku.settings(locals(), test_runner=False)
  6
  ```
  --- 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/config/settings/heroku.py b/backend/config/settings/heroku.py
  --- a/backend/config/settings/heroku.py
  +++ b/backend/config/settings/heroku.py
  @@ -2,4 +2,4 @@
   
   from .base import *  # noqa: F401,F403
   
  -django_heroku.settings(locals(), test_runner=False)
  +django_heroku.settings(locals(), test_runner=False, staticfiles=False)
  
verification_info: {"golden_diff": "diff --git a/backend/config/settings/heroku.py b/backend/config/settings/heroku.py\n--- a/backend/config/settings/heroku.py\n+++ b/backend/config/settings/heroku.py\n@@ -2,4 +2,4 @@\n \n from .base import *  # noqa: F401,F403\n \n-django_heroku.settings(locals(), test_runner=False)\n+django_heroku.settings(locals(), test_runner=False, staticfiles=False)\n", "issue": "Cannot access Django admin panel in a Heroku deployment\nHow to reproduce the behaviour\r\n---------\r\nThe FAQ describes how to [create a user via the Django admin panel](https://github.com/doccano/doccano/blob/master/docs/faq.md#how-to-create-a-user) for a locally hosted Doccano. When run locally, I have no problem to reach the admin panel on `http://localhost:8000/admin/`, in Heroku however it is not working.\r\n\r\nI have tried to reach it on\r\n- `https://mydeployment.herokuapp.com/admin/`\r\n- `https://mydeployment.herokuapp.com/admin/login`\r\n- `https://mydeployment.herokuapp.com/admin/login/`\r\n- `http://mydeployment.herokuapp.com/admin/`\r\n\r\nThose urls all result in a `500 Internal Server Error`.\r\nAm I missing something here, or is this perhaps a bug?\r\n\r\nYour Environment\r\n---------\r\n<!-- Include details of your environment. -->\r\n\r\n*   Operating System: -\r\n*   Python Version Used: -\r\n*   When did you install doccano: A few days ago\r\n*   How did you install doccano (Heroku button etc): Heroku button\r\n\n", "before_files": [{"content": "import django_heroku\n\nfrom .base import *  # noqa: F401,F403\n\ndjango_heroku.settings(locals(), test_runner=False)\n", "path": "backend/config/settings/heroku.py"}], "after_files": [{"content": "import django_heroku\n\nfrom .base import *  # noqa: F401,F403\n\ndjango_heroku.settings(locals(), test_runner=False, staticfiles=False)\n", "path": "backend/config/settings/heroku.py"}]}