We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Menus not working on live site
I have deployed everything to the live site. The menus are not working for me there. Please investigate and fix asap.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `django_project/core/settings/contrib.py`
Content:
```
1 # coding=utf-8
2 """
3 core.settings.contrib
4 """
5 from .base import *  # noqa
6 
7 # Extra installed apps
8 INSTALLED_APPS = (
9     'grappelli',
10 ) + INSTALLED_APPS
11 
12 INSTALLED_APPS += (
13     'raven.contrib.django.raven_compat',  # enable Raven plugin
14     'crispy_forms',
15     'widget_tweaks',  # lets us add some bootstrap css to form elements
16     'accounts',  # userena
17     'guardian',  # for userena
18     'easy_thumbnails',  # also needed for userena
19     'userena',
20     'reversion',
21     'rosetta',
22     'embed_video',
23     # 'user_map',
24 )
25 
26 STOP_WORDS = (
27     'a', 'an', 'and', 'if', 'is', 'the', 'in', 'i', 'you', 'other',
28     'this', 'that'
29 )
30 
31 CRISPY_TEMPLATE_PACK = 'bootstrap3'
32 
33 # Added for userena
34 AUTHENTICATION_BACKENDS = (
35     'userena.backends.UserenaAuthenticationBackend',
36     'guardian.backends.ObjectPermissionBackend',
37     'django.contrib.auth.backends.ModelBackend',
38 )
39 ANONYMOUS_USER_ID = -1
40 AUTH_PROFILE_MODULE = 'accounts.Profile'
41 LOGIN_REDIRECT_URL = '/accounts/%(username)s/'
42 LOGIN_URL = '/accounts/signin/'
43 LOGOUT_URL = '/accounts/signout/'
44 
45 # Easy-thumbnails options
46 THUMBNAIL_SUBDIR = 'thumbnails'
47 THUMBNAIL_ALIASES = {
48     '': {
49         'entry': {'size': (50, 50), 'crop': True},
50         'medium-entry': {'size': (100, 100), 'crop': True},
51         'large-entry': {'size': (400, 300), 'crop': True},
52         'thumb300x200': {'size': (300, 200), 'crop': True},
53     },
54 }
55 
56 # Pipeline related settings
57 
58 INSTALLED_APPS += (
59     'pipeline',)
60 
61 MIDDLEWARE_CLASSES += (
62     # for django-audited-models
63     # Threaded middleware *must* come *after* auth middleware
64     'threaded_multihost.middleware.ThreadLocalMiddleware',
65     # For rosetta localisation
66     'django.middleware.locale.LocaleMiddleware'
67 )
68 
69 DEFAULT_FILE_STORAGE = (
70     'django_hashedfilenamestorage.storage.HashedFilenameFileSystemStorage')
71 
72 # use underscore template function
73 PIPELINE_TEMPLATE_FUNC = '_.template'
74 
75 # enable cached storage - requires uglify.js (node.js)
76 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
77 
78 # Contributed / third party js libs for pipeline compression
79 # For hand rolled js for this app, use project.py
80 PIPELINE_JS = {
81     'contrib': {
82         'source_filenames': (
83             'js/jquery-1.11.3.js',
84             'js/underscore.1.8.3.js',
85             'js/bootstrap-3.3.5.js'
86         ),
87         'output_filename': 'js/contrib.js',
88     }
89 }
90 
91 # Contributed / third party css for pipeline compression
92 # For hand rolled css for this app, use project.py
93 PIPELINE_CSS = {
94     'contrib': {
95         'source_filenames': (
96             'css/bootstrap.3.3.5.css',
97             'css/bootstrap-theme.3.3.5.css',
98         ),
99         'output_filename': 'css/contrib.css',
100         'extra_context': {
101             'media': 'screen, projection',
102         },
103     }
104 }
105 
106 # These get enabled in prod.py
107 PIPELINE_ENABLED = False
108 PIPELINE_CSS_COMPRESSOR = None
109 PIPELINE_JS_COMPRESSOR = None
110
```
--- 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/django_project/core/settings/contrib.py b/django_project/core/settings/contrib.py
--- a/django_project/core/settings/contrib.py
+++ b/django_project/core/settings/contrib.py
@@ -77,31 +77,11 @@
 
 # Contributed / third party js libs for pipeline compression
 # For hand rolled js for this app, use project.py
-PIPELINE_JS = {
-    'contrib': {
-        'source_filenames': (
-            'js/jquery-1.11.3.js',
-            'js/underscore.1.8.3.js',
-            'js/bootstrap-3.3.5.js'
-        ),
-        'output_filename': 'js/contrib.js',
-    }
-}
+PIPELINE_JS = {}
 
 # Contributed / third party css for pipeline compression
 # For hand rolled css for this app, use project.py
-PIPELINE_CSS = {
-    'contrib': {
-        'source_filenames': (
-            'css/bootstrap.3.3.5.css',
-            'css/bootstrap-theme.3.3.5.css',
-        ),
-        'output_filename': 'css/contrib.css',
-        'extra_context': {
-            'media': 'screen, projection',
-        },
-    }
-}
+PIPELINE_CSS = {}
 
 # These get enabled in prod.py
 PIPELINE_ENABLED = False

{"golden_diff": "diff --git a/django_project/core/settings/contrib.py b/django_project/core/settings/contrib.py\n--- a/django_project/core/settings/contrib.py\n+++ b/django_project/core/settings/contrib.py\n@@ -77,31 +77,11 @@\n \n # Contributed / third party js libs for pipeline compression\n # For hand rolled js for this app, use project.py\n-PIPELINE_JS = {\n-    'contrib': {\n-        'source_filenames': (\n-            'js/jquery-1.11.3.js',\n-            'js/underscore.1.8.3.js',\n-            'js/bootstrap-3.3.5.js'\n-        ),\n-        'output_filename': 'js/contrib.js',\n-    }\n-}\n+PIPELINE_JS = {}\n \n # Contributed / third party css for pipeline compression\n # For hand rolled css for this app, use project.py\n-PIPELINE_CSS = {\n-    'contrib': {\n-        'source_filenames': (\n-            'css/bootstrap.3.3.5.css',\n-            'css/bootstrap-theme.3.3.5.css',\n-        ),\n-        'output_filename': 'css/contrib.css',\n-        'extra_context': {\n-            'media': 'screen, projection',\n-        },\n-    }\n-}\n+PIPELINE_CSS = {}\n \n # These get enabled in prod.py\n PIPELINE_ENABLED = False\n", "issue": "Menus not working on live site\nI have deployed everything to the live site. The menus are not working for me there. Please investigate and fix asap.\n\n", "before_files": [{"content": "# coding=utf-8\n\"\"\"\ncore.settings.contrib\n\"\"\"\nfrom .base import *  # noqa\n\n# Extra installed apps\nINSTALLED_APPS = (\n    'grappelli',\n) + INSTALLED_APPS\n\nINSTALLED_APPS += (\n    'raven.contrib.django.raven_compat',  # enable Raven plugin\n    'crispy_forms',\n    'widget_tweaks',  # lets us add some bootstrap css to form elements\n    'accounts',  # userena\n    'guardian',  # for userena\n    'easy_thumbnails',  # also needed for userena\n    'userena',\n    'reversion',\n    'rosetta',\n    'embed_video',\n    # 'user_map',\n)\n\nSTOP_WORDS = (\n    'a', 'an', 'and', 'if', 'is', 'the', 'in', 'i', 'you', 'other',\n    'this', 'that'\n)\n\nCRISPY_TEMPLATE_PACK = 'bootstrap3'\n\n# Added for userena\nAUTHENTICATION_BACKENDS = (\n    'userena.backends.UserenaAuthenticationBackend',\n    'guardian.backends.ObjectPermissionBackend',\n    'django.contrib.auth.backends.ModelBackend',\n)\nANONYMOUS_USER_ID = -1\nAUTH_PROFILE_MODULE = 'accounts.Profile'\nLOGIN_REDIRECT_URL = '/accounts/%(username)s/'\nLOGIN_URL = '/accounts/signin/'\nLOGOUT_URL = '/accounts/signout/'\n\n# Easy-thumbnails options\nTHUMBNAIL_SUBDIR = 'thumbnails'\nTHUMBNAIL_ALIASES = {\n    '': {\n        'entry': {'size': (50, 50), 'crop': True},\n        'medium-entry': {'size': (100, 100), 'crop': True},\n        'large-entry': {'size': (400, 300), 'crop': True},\n        'thumb300x200': {'size': (300, 200), 'crop': True},\n    },\n}\n\n# Pipeline related settings\n\nINSTALLED_APPS += (\n    'pipeline',)\n\nMIDDLEWARE_CLASSES += (\n    # for django-audited-models\n    # Threaded middleware *must* come *after* auth middleware\n    'threaded_multihost.middleware.ThreadLocalMiddleware',\n    # For rosetta localisation\n    'django.middleware.locale.LocaleMiddleware'\n)\n\nDEFAULT_FILE_STORAGE = (\n    'django_hashedfilenamestorage.storage.HashedFilenameFileSystemStorage')\n\n# use underscore template function\nPIPELINE_TEMPLATE_FUNC = '_.template'\n\n# enable cached storage - requires uglify.js (node.js)\nSTATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'\n\n# Contributed / third party js libs for pipeline compression\n# For hand rolled js for this app, use project.py\nPIPELINE_JS = {\n    'contrib': {\n        'source_filenames': (\n            'js/jquery-1.11.3.js',\n            'js/underscore.1.8.3.js',\n            'js/bootstrap-3.3.5.js'\n        ),\n        'output_filename': 'js/contrib.js',\n    }\n}\n\n# Contributed / third party css for pipeline compression\n# For hand rolled css for this app, use project.py\nPIPELINE_CSS = {\n    'contrib': {\n        'source_filenames': (\n            'css/bootstrap.3.3.5.css',\n            'css/bootstrap-theme.3.3.5.css',\n        ),\n        'output_filename': 'css/contrib.css',\n        'extra_context': {\n            'media': 'screen, projection',\n        },\n    }\n}\n\n# These get enabled in prod.py\nPIPELINE_ENABLED = False\nPIPELINE_CSS_COMPRESSOR = None\nPIPELINE_JS_COMPRESSOR = None\n", "path": "django_project/core/settings/contrib.py"}], "after_files": [{"content": "# coding=utf-8\n\"\"\"\ncore.settings.contrib\n\"\"\"\nfrom .base import *  # noqa\n\n# Extra installed apps\nINSTALLED_APPS = (\n    'grappelli',\n) + INSTALLED_APPS\n\nINSTALLED_APPS += (\n    'raven.contrib.django.raven_compat',  # enable Raven plugin\n    'crispy_forms',\n    'widget_tweaks',  # lets us add some bootstrap css to form elements\n    'accounts',  # userena\n    'guardian',  # for userena\n    'easy_thumbnails',  # also needed for userena\n    'userena',\n    'reversion',\n    'rosetta',\n    'embed_video',\n    # 'user_map',\n)\n\nSTOP_WORDS = (\n    'a', 'an', 'and', 'if', 'is', 'the', 'in', 'i', 'you', 'other',\n    'this', 'that'\n)\n\nCRISPY_TEMPLATE_PACK = 'bootstrap3'\n\n# Added for userena\nAUTHENTICATION_BACKENDS = (\n    'userena.backends.UserenaAuthenticationBackend',\n    'guardian.backends.ObjectPermissionBackend',\n    'django.contrib.auth.backends.ModelBackend',\n)\nANONYMOUS_USER_ID = -1\nAUTH_PROFILE_MODULE = 'accounts.Profile'\nLOGIN_REDIRECT_URL = '/accounts/%(username)s/'\nLOGIN_URL = '/accounts/signin/'\nLOGOUT_URL = '/accounts/signout/'\n\n# Easy-thumbnails options\nTHUMBNAIL_SUBDIR = 'thumbnails'\nTHUMBNAIL_ALIASES = {\n    '': {\n        'entry': {'size': (50, 50), 'crop': True},\n        'medium-entry': {'size': (100, 100), 'crop': True},\n        'large-entry': {'size': (400, 300), 'crop': True},\n        'thumb300x200': {'size': (300, 200), 'crop': True},\n    },\n}\n\n# Pipeline related settings\n\nINSTALLED_APPS += (\n    'pipeline',)\n\nMIDDLEWARE_CLASSES += (\n    # for django-audited-models\n    # Threaded middleware *must* come *after* auth middleware\n    'threaded_multihost.middleware.ThreadLocalMiddleware',\n    # For rosetta localisation\n    'django.middleware.locale.LocaleMiddleware'\n)\n\nDEFAULT_FILE_STORAGE = (\n    'django_hashedfilenamestorage.storage.HashedFilenameFileSystemStorage')\n\n# use underscore template function\nPIPELINE_TEMPLATE_FUNC = '_.template'\n\n# enable cached storage - requires uglify.js (node.js)\nSTATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'\n\n# Contributed / third party js libs for pipeline compression\n# For hand rolled js for this app, use project.py\nPIPELINE_JS = {}\n\n# Contributed / third party css for pipeline compression\n# For hand rolled css for this app, use project.py\nPIPELINE_CSS = {}\n\n# These get enabled in prod.py\nPIPELINE_ENABLED = False\nPIPELINE_CSS_COMPRESSOR = None\nPIPELINE_JS_COMPRESSOR = None\n", "path": "django_project/core/settings/contrib.py"}]}