We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
toep: wrong FAQ link 
## Description of the issue

On toep there is now a drop down menu including a link to "FAQs". 
The link however goes to the main page of the OEA instead of going to the questions section: https://openenergyplatform.github.io/academy/questions/

## Steps to Reproduce
1. Visit toep and click FAQ in "About" drop-down

## Ideas of solution

Link directly to https://openenergyplatform.github.io/academy/questions/

FYI @wingechr 

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `oeplatform/settings.py`
Content:
```
1 """
2 Django settings for oeplatform project.
3 
4 Generated by 'django-admin startproject' using Django 1.8.5.
5 
6 For more information on this file, see
7 https://docs.djangoproject.com/en/1.8/topics/settings/
8 
9 For the full list of settings and their values, see
10 https://docs.djangoproject.com/en/1.8/ref/settings/
11 """
12 
13 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
14 
15 try:
16     from .securitysettings import *  # noqa
17 except ImportError:
18     import logging
19     import os
20 
21     logging.error("No securitysettings found. Triggerd in oeplatform/settings.py")
22     SECRET_KEY = os.environ.get("SECRET_KEY", "0")
23     DEFAULT_FROM_EMAIL = os.environ.get("DEFAULT_FROM_EMAIL")
24     URL = os.environ.get("URL")
25 
26 # Quick-start development settings - unsuitable for production
27 # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
28 
29 # Application definition
30 
31 INSTALLED_APPS = (
32     "django.contrib.sites",
33     "django.contrib.admin",
34     "django.contrib.auth",
35     "django.contrib.contenttypes",
36     "django.contrib.sessions",
37     "django.contrib.messages",
38     "django.contrib.staticfiles",
39     "django.contrib.sessions.backends.signed_cookies",
40     "django_bootstrap5",
41     "rest_framework",
42     "rest_framework.authtoken",
43     "modelview",
44     "modelview.templatetags.modelview_extras",
45     "login",
46     "base",
47     "base.templatetags.base_tags",
48     "widget_tweaks",
49     "dataedit",
50     "colorfield",
51     "api",
52     "ontology",
53     "axes",
54     "captcha",
55     "django.contrib.postgres",
56     "fontawesome_5",
57     "django_better_admin_arrayfield",
58     "oeo_viewer",
59     "factsheet",
60     "corsheaders",
61     "owlready2",
62     "compressor",
63 )
64 
65 MIDDLEWARE = (
66     "django.contrib.sites.middleware.CurrentSiteMiddleware",
67     "django.contrib.sessions.middleware.SessionMiddleware",
68     "django.middleware.common.CommonMiddleware",
69     "django.middleware.csrf.CsrfViewMiddleware",
70     "django.contrib.auth.middleware.AuthenticationMiddleware",
71     "django.contrib.messages.middleware.MessageMiddleware",
72     "django.middleware.clickjacking.XFrameOptionsMiddleware",
73     "django.middleware.security.SecurityMiddleware",
74     "login.middleware.DetachMiddleware",
75     "axes.middleware.AxesMiddleware",
76     "corsheaders.middleware.CorsMiddleware",
77     "django.middleware.common.CommonMiddleware",
78 )
79 
80 ROOT_URLCONF = "oeplatform.urls"
81 
82 EXTERNAL_URLS = {
83     "tutorials_index": "https://openenergyplatform.github.io/academy/",
84     "tutorials_faq": "https://openenergyplatform.github.io/academy/",
85     "tutorials_api1": "https://openenergyplatform.github.io/academy/tutorials/01_api/01_api_download/",  # noqa E501
86     "tutorials_licenses": "https://openenergyplatform.github.io/academy/tutorials/metadata/tutorial_open-data-licenses/",  # noqa E501
87     "readthedocs": "https://oeplatform.readthedocs.io/en/latest/?badge=latest",
88     "mkdocs": "https://openenergyplatform.github.io/oeplatform/",
89     "compendium": "https://openenergyplatform.github.io/organisation/",
90 }
91 
92 
93 def external_urls_context_processor(request):
94     """Define hard coded external urls here.
95     Use in templates like this: {{ EXTERNAL_URLS.<name_of_url> }}
96     Also, you may want to add an icon indicating external links, e.g.
97     """
98     return {"EXTERNAL_URLS": EXTERNAL_URLS}
99 
100 
101 SITE_ID = 1
102 
103 TEMPLATES = [
104     {
105         "BACKEND": "django.template.backends.django.DjangoTemplates",
106         "DIRS": [],
107         "APP_DIRS": True,
108         "OPTIONS": {
109             "context_processors": [
110                 "django.template.context_processors.debug",
111                 "django.template.context_processors.request",
112                 "django.contrib.auth.context_processors.auth",
113                 "django.contrib.messages.context_processors.messages",
114                 "oeplatform.settings.external_urls_context_processor",
115             ]
116         },
117     }
118 ]
119 
120 CORS_ORIGIN_WHITELIST = ["http://localhost:3000", "http://127.0.0.1:3000"]
121 
122 GRAPHENE = {"SCHEMA": "factsheet.schema.schema"}
123 
124 WSGI_APPLICATION = "oeplatform.wsgi.application"
125 
126 try:
127     ONTOLOGY_FOLDER  # noqa
128 except NameError:
129     ONTOLOGY_FOLDER = "/tmp"
130 
131 
132 # Internationalization
133 # https://docs.djangoproject.com/en/1.8/topics/i18n/
134 
135 LANGUAGE_CODE = "en-us"
136 
137 TIME_ZONE = "Europe/Berlin"
138 
139 USE_I18N = True
140 
141 USE_L10N = True
142 
143 USE_TZ = True
144 
145 # Static files (CSS, JavaScript, Images)
146 # https://docs.djangoproject.com/en/1.8/howto/static-files/
147 
148 AUTH_USER_MODEL = "login.myuser"
149 LOGIN_URL = "/user/login"
150 LOGIN_REDIRECT_URL = "/"
151 
152 REST_FRAMEWORK = {
153     "DEFAULT_AUTHENTICATION_CLASSES": (
154         "rest_framework.authentication.BasicAuthentication",
155         "rest_framework.authentication.SessionAuthentication",
156         "rest_framework.authentication.TokenAuthentication",
157     )
158 }
159 
160 AUTHENTICATION_BACKENDS = [
161     # AxesBackend should be the first backend in the AUTHENTICATION_BACKENDS list.
162     "axes.backends.AxesBackend",
163     # custom class extenging Django ModelBackend for login with username OR email
164     "login.backends.ModelBackendWithEmail",
165 ]
166 
167 DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
168 
169 STATICFILES_FINDERS = {
170     "django.contrib.staticfiles.finders.FileSystemFinder",
171     "django.contrib.staticfiles.finders.AppDirectoriesFinder",
172     "compressor.finders.CompressorFinder",
173 }
174 
175 
176 # https://django-compressor.readthedocs.io/en/stable/settings.html
177 COMPRESS_ENABLED = True
178 COMPRESS_OFFLINE = True
179 COMPRESS_REBUILD_TIMEOUT = 0
180 COMPRESS_MTIME_DELAY = 0
181
```
--- 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()

```

diff --git a/oeplatform/settings.py b/oeplatform/settings.py
--- a/oeplatform/settings.py
+++ b/oeplatform/settings.py
@@ -81,7 +81,7 @@
 
 EXTERNAL_URLS = {
     "tutorials_index": "https://openenergyplatform.github.io/academy/",
-    "tutorials_faq": "https://openenergyplatform.github.io/academy/",
+    "tutorials_faq": "https://openenergyplatform.github.io/academy/questions/",
     "tutorials_api1": "https://openenergyplatform.github.io/academy/tutorials/01_api/01_api_download/",  # noqa E501
     "tutorials_licenses": "https://openenergyplatform.github.io/academy/tutorials/metadata/tutorial_open-data-licenses/",  # noqa E501
     "readthedocs": "https://oeplatform.readthedocs.io/en/latest/?badge=latest",

{"golden_diff": "diff --git a/oeplatform/settings.py b/oeplatform/settings.py\n--- a/oeplatform/settings.py\n+++ b/oeplatform/settings.py\n@@ -81,7 +81,7 @@\n \n EXTERNAL_URLS = {\n     \"tutorials_index\": \"https://openenergyplatform.github.io/academy/\",\n-    \"tutorials_faq\": \"https://openenergyplatform.github.io/academy/\",\n+    \"tutorials_faq\": \"https://openenergyplatform.github.io/academy/questions/\",\n     \"tutorials_api1\": \"https://openenergyplatform.github.io/academy/tutorials/01_api/01_api_download/\",  # noqa E501\n     \"tutorials_licenses\": \"https://openenergyplatform.github.io/academy/tutorials/metadata/tutorial_open-data-licenses/\",  # noqa E501\n     \"readthedocs\": \"https://oeplatform.readthedocs.io/en/latest/?badge=latest\",\n", "issue": "toep: wrong FAQ link \n## Description of the issue\r\n\r\nOn toep there is now a drop down menu including a link to \"FAQs\". \r\nThe link however goes to the main page of the OEA instead of going to the questions section: https://openenergyplatform.github.io/academy/questions/\r\n\r\n## Steps to Reproduce\r\n1. Visit toep and click FAQ in \"About\" drop-down\r\n\r\n## Ideas of solution\r\n\r\nLink directly to https://openenergyplatform.github.io/academy/questions/\r\n\r\nFYI @wingechr \n", "before_files": [{"content": "\"\"\"\nDjango settings for oeplatform project.\n\nGenerated by 'django-admin startproject' using Django 1.8.5.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.8/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/en/1.8/ref/settings/\n\"\"\"\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\n\ntry:\n    from .securitysettings import *  # noqa\nexcept ImportError:\n    import logging\n    import os\n\n    logging.error(\"No securitysettings found. Triggerd in oeplatform/settings.py\")\n    SECRET_KEY = os.environ.get(\"SECRET_KEY\", \"0\")\n    DEFAULT_FROM_EMAIL = os.environ.get(\"DEFAULT_FROM_EMAIL\")\n    URL = os.environ.get(\"URL\")\n\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/\n\n# Application definition\n\nINSTALLED_APPS = (\n    \"django.contrib.sites\",\n    \"django.contrib.admin\",\n    \"django.contrib.auth\",\n    \"django.contrib.contenttypes\",\n    \"django.contrib.sessions\",\n    \"django.contrib.messages\",\n    \"django.contrib.staticfiles\",\n    \"django.contrib.sessions.backends.signed_cookies\",\n    \"django_bootstrap5\",\n    \"rest_framework\",\n    \"rest_framework.authtoken\",\n    \"modelview\",\n    \"modelview.templatetags.modelview_extras\",\n    \"login\",\n    \"base\",\n    \"base.templatetags.base_tags\",\n    \"widget_tweaks\",\n    \"dataedit\",\n    \"colorfield\",\n    \"api\",\n    \"ontology\",\n    \"axes\",\n    \"captcha\",\n    \"django.contrib.postgres\",\n    \"fontawesome_5\",\n    \"django_better_admin_arrayfield\",\n    \"oeo_viewer\",\n    \"factsheet\",\n    \"corsheaders\",\n    \"owlready2\",\n    \"compressor\",\n)\n\nMIDDLEWARE = (\n    \"django.contrib.sites.middleware.CurrentSiteMiddleware\",\n    \"django.contrib.sessions.middleware.SessionMiddleware\",\n    \"django.middleware.common.CommonMiddleware\",\n    \"django.middleware.csrf.CsrfViewMiddleware\",\n    \"django.contrib.auth.middleware.AuthenticationMiddleware\",\n    \"django.contrib.messages.middleware.MessageMiddleware\",\n    \"django.middleware.clickjacking.XFrameOptionsMiddleware\",\n    \"django.middleware.security.SecurityMiddleware\",\n    \"login.middleware.DetachMiddleware\",\n    \"axes.middleware.AxesMiddleware\",\n    \"corsheaders.middleware.CorsMiddleware\",\n    \"django.middleware.common.CommonMiddleware\",\n)\n\nROOT_URLCONF = \"oeplatform.urls\"\n\nEXTERNAL_URLS = {\n    \"tutorials_index\": \"https://openenergyplatform.github.io/academy/\",\n    \"tutorials_faq\": \"https://openenergyplatform.github.io/academy/\",\n    \"tutorials_api1\": \"https://openenergyplatform.github.io/academy/tutorials/01_api/01_api_download/\",  # noqa E501\n    \"tutorials_licenses\": \"https://openenergyplatform.github.io/academy/tutorials/metadata/tutorial_open-data-licenses/\",  # noqa E501\n    \"readthedocs\": \"https://oeplatform.readthedocs.io/en/latest/?badge=latest\",\n    \"mkdocs\": \"https://openenergyplatform.github.io/oeplatform/\",\n    \"compendium\": \"https://openenergyplatform.github.io/organisation/\",\n}\n\n\ndef external_urls_context_processor(request):\n    \"\"\"Define hard coded external urls here.\n    Use in templates like this: {{ EXTERNAL_URLS.<name_of_url> }}\n    Also, you may want to add an icon indicating external links, e.g.\n    \"\"\"\n    return {\"EXTERNAL_URLS\": EXTERNAL_URLS}\n\n\nSITE_ID = 1\n\nTEMPLATES = [\n    {\n        \"BACKEND\": \"django.template.backends.django.DjangoTemplates\",\n        \"DIRS\": [],\n        \"APP_DIRS\": True,\n        \"OPTIONS\": {\n            \"context_processors\": [\n                \"django.template.context_processors.debug\",\n                \"django.template.context_processors.request\",\n                \"django.contrib.auth.context_processors.auth\",\n                \"django.contrib.messages.context_processors.messages\",\n                \"oeplatform.settings.external_urls_context_processor\",\n            ]\n        },\n    }\n]\n\nCORS_ORIGIN_WHITELIST = [\"http://localhost:3000\", \"http://127.0.0.1:3000\"]\n\nGRAPHENE = {\"SCHEMA\": \"factsheet.schema.schema\"}\n\nWSGI_APPLICATION = \"oeplatform.wsgi.application\"\n\ntry:\n    ONTOLOGY_FOLDER  # noqa\nexcept NameError:\n    ONTOLOGY_FOLDER = \"/tmp\"\n\n\n# Internationalization\n# https://docs.djangoproject.com/en/1.8/topics/i18n/\n\nLANGUAGE_CODE = \"en-us\"\n\nTIME_ZONE = \"Europe/Berlin\"\n\nUSE_I18N = True\n\nUSE_L10N = True\n\nUSE_TZ = True\n\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/1.8/howto/static-files/\n\nAUTH_USER_MODEL = \"login.myuser\"\nLOGIN_URL = \"/user/login\"\nLOGIN_REDIRECT_URL = \"/\"\n\nREST_FRAMEWORK = {\n    \"DEFAULT_AUTHENTICATION_CLASSES\": (\n        \"rest_framework.authentication.BasicAuthentication\",\n        \"rest_framework.authentication.SessionAuthentication\",\n        \"rest_framework.authentication.TokenAuthentication\",\n    )\n}\n\nAUTHENTICATION_BACKENDS = [\n    # AxesBackend should be the first backend in the AUTHENTICATION_BACKENDS list.\n    \"axes.backends.AxesBackend\",\n    # custom class extenging Django ModelBackend for login with username OR email\n    \"login.backends.ModelBackendWithEmail\",\n]\n\nDEFAULT_AUTO_FIELD = \"django.db.models.AutoField\"\n\nSTATICFILES_FINDERS = {\n    \"django.contrib.staticfiles.finders.FileSystemFinder\",\n    \"django.contrib.staticfiles.finders.AppDirectoriesFinder\",\n    \"compressor.finders.CompressorFinder\",\n}\n\n\n# https://django-compressor.readthedocs.io/en/stable/settings.html\nCOMPRESS_ENABLED = True\nCOMPRESS_OFFLINE = True\nCOMPRESS_REBUILD_TIMEOUT = 0\nCOMPRESS_MTIME_DELAY = 0\n", "path": "oeplatform/settings.py"}], "after_files": [{"content": "\"\"\"\nDjango settings for oeplatform project.\n\nGenerated by 'django-admin startproject' using Django 1.8.5.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.8/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/en/1.8/ref/settings/\n\"\"\"\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\n\ntry:\n    from .securitysettings import *  # noqa\nexcept ImportError:\n    import logging\n    import os\n\n    logging.error(\"No securitysettings found. Triggerd in oeplatform/settings.py\")\n    SECRET_KEY = os.environ.get(\"SECRET_KEY\", \"0\")\n    DEFAULT_FROM_EMAIL = os.environ.get(\"DEFAULT_FROM_EMAIL\")\n    URL = os.environ.get(\"URL\")\n\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/\n\n# Application definition\n\nINSTALLED_APPS = (\n    \"django.contrib.sites\",\n    \"django.contrib.admin\",\n    \"django.contrib.auth\",\n    \"django.contrib.contenttypes\",\n    \"django.contrib.sessions\",\n    \"django.contrib.messages\",\n    \"django.contrib.staticfiles\",\n    \"django.contrib.sessions.backends.signed_cookies\",\n    \"django_bootstrap5\",\n    \"rest_framework\",\n    \"rest_framework.authtoken\",\n    \"modelview\",\n    \"modelview.templatetags.modelview_extras\",\n    \"login\",\n    \"base\",\n    \"base.templatetags.base_tags\",\n    \"widget_tweaks\",\n    \"dataedit\",\n    \"colorfield\",\n    \"api\",\n    \"ontology\",\n    \"axes\",\n    \"captcha\",\n    \"django.contrib.postgres\",\n    \"fontawesome_5\",\n    \"django_better_admin_arrayfield\",\n    \"oeo_viewer\",\n    \"factsheet\",\n    \"corsheaders\",\n    \"owlready2\",\n    \"compressor\",\n)\n\nMIDDLEWARE = (\n    \"django.contrib.sites.middleware.CurrentSiteMiddleware\",\n    \"django.contrib.sessions.middleware.SessionMiddleware\",\n    \"django.middleware.common.CommonMiddleware\",\n    \"django.middleware.csrf.CsrfViewMiddleware\",\n    \"django.contrib.auth.middleware.AuthenticationMiddleware\",\n    \"django.contrib.messages.middleware.MessageMiddleware\",\n    \"django.middleware.clickjacking.XFrameOptionsMiddleware\",\n    \"django.middleware.security.SecurityMiddleware\",\n    \"login.middleware.DetachMiddleware\",\n    \"axes.middleware.AxesMiddleware\",\n    \"corsheaders.middleware.CorsMiddleware\",\n    \"django.middleware.common.CommonMiddleware\",\n)\n\nROOT_URLCONF = \"oeplatform.urls\"\n\nEXTERNAL_URLS = {\n    \"tutorials_index\": \"https://openenergyplatform.github.io/academy/\",\n    \"tutorials_faq\": \"https://openenergyplatform.github.io/academy/questions/\",\n    \"tutorials_api1\": \"https://openenergyplatform.github.io/academy/tutorials/01_api/01_api_download/\",  # noqa E501\n    \"tutorials_licenses\": \"https://openenergyplatform.github.io/academy/tutorials/metadata/tutorial_open-data-licenses/\",  # noqa E501\n    \"readthedocs\": \"https://oeplatform.readthedocs.io/en/latest/?badge=latest\",\n    \"mkdocs\": \"https://openenergyplatform.github.io/oeplatform/\",\n    \"compendium\": \"https://openenergyplatform.github.io/organisation/\",\n}\n\n\ndef external_urls_context_processor(request):\n    \"\"\"Define hard coded external urls here.\n    Use in templates like this: {{ EXTERNAL_URLS.<name_of_url> }}\n    Also, you may want to add an icon indicating external links, e.g.\n    \"\"\"\n    return {\"EXTERNAL_URLS\": EXTERNAL_URLS}\n\n\nSITE_ID = 1\n\nTEMPLATES = [\n    {\n        \"BACKEND\": \"django.template.backends.django.DjangoTemplates\",\n        \"DIRS\": [],\n        \"APP_DIRS\": True,\n        \"OPTIONS\": {\n            \"context_processors\": [\n                \"django.template.context_processors.debug\",\n                \"django.template.context_processors.request\",\n                \"django.contrib.auth.context_processors.auth\",\n                \"django.contrib.messages.context_processors.messages\",\n                \"oeplatform.settings.external_urls_context_processor\",\n            ]\n        },\n    }\n]\n\nCORS_ORIGIN_WHITELIST = [\"http://localhost:3000\", \"http://127.0.0.1:3000\"]\n\nGRAPHENE = {\"SCHEMA\": \"factsheet.schema.schema\"}\n\nWSGI_APPLICATION = \"oeplatform.wsgi.application\"\n\ntry:\n    ONTOLOGY_FOLDER  # noqa\nexcept NameError:\n    ONTOLOGY_FOLDER = \"/tmp\"\n\n\n# Internationalization\n# https://docs.djangoproject.com/en/1.8/topics/i18n/\n\nLANGUAGE_CODE = \"en-us\"\n\nTIME_ZONE = \"Europe/Berlin\"\n\nUSE_I18N = True\n\nUSE_L10N = True\n\nUSE_TZ = True\n\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/1.8/howto/static-files/\n\nAUTH_USER_MODEL = \"login.myuser\"\nLOGIN_URL = \"/user/login\"\nLOGIN_REDIRECT_URL = \"/\"\n\nREST_FRAMEWORK = {\n    \"DEFAULT_AUTHENTICATION_CLASSES\": (\n        \"rest_framework.authentication.BasicAuthentication\",\n        \"rest_framework.authentication.SessionAuthentication\",\n        \"rest_framework.authentication.TokenAuthentication\",\n    )\n}\n\nAUTHENTICATION_BACKENDS = [\n    # AxesBackend should be the first backend in the AUTHENTICATION_BACKENDS list.\n    \"axes.backends.AxesBackend\",\n    # custom class extenging Django ModelBackend for login with username OR email\n    \"login.backends.ModelBackendWithEmail\",\n]\n\nDEFAULT_AUTO_FIELD = \"django.db.models.AutoField\"\n\nSTATICFILES_FINDERS = {\n    \"django.contrib.staticfiles.finders.FileSystemFinder\",\n    \"django.contrib.staticfiles.finders.AppDirectoriesFinder\",\n    \"compressor.finders.CompressorFinder\",\n}\n\n\n# https://django-compressor.readthedocs.io/en/stable/settings.html\nCOMPRESS_ENABLED = True\nCOMPRESS_OFFLINE = True\nCOMPRESS_REBUILD_TIMEOUT = 0\nCOMPRESS_MTIME_DELAY = 0\n", "path": "oeplatform/settings.py"}]}